sigboe / gslX68X

Kernel space driver for Silead touch screen digitizers.
GNU General Public License v2.0
24 stars 11 forks source link

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

Open mbotbn opened 1 week ago

mbotbn commented 1 week ago

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 commented 6 days ago

It's a known issue: https://github.com/onitake/gslx680-acpi/issues/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