Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on kernel 6.8.5-301.fc40.x86_64 #11

Open
mbotbn opened this issue Oct 14, 2024 · 1 comment
Open

Build error on kernel 6.8.5-301.fc40.x86_64 #11

mbotbn opened this issue Oct 14, 2024 · 1 comment

Comments

@mbotbn
Copy link

mbotbn commented Oct 14, 2024

When I try to build the driver this error occurs:

/home/mbotx/gslX68X/silead.c:674:19: error: initialization of ‘int (*)(struct i2c_client )’ from incompatible pointer type ‘int ()(struct i2c_client *, const struct i2c_device_id *)’ [-Wincompatible-pointer-types]
674 | .probe = silead_ts_probe,

I'm running on fedora linux with kernel version: 6.8.5-301.fc40.x86_64

@onitake
Copy link
Collaborator

onitake commented Oct 15, 2024

It's a known issue: onitake/gslx680-acpi#38

Do you really need to use this old driver?
If you want to run a Silead touchscreen on a modern kernel, please use the mainline silead.ko driver instead:
https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/silead.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants