Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: zforce_ts - make zforce_idtable constant

The I2C ID table is not supposed to change; mark it as const.

Tested-by: Andreas Kemnade <andreas@kemnade.info> # Tolino Shine2HD
Link: https://lore.kernel.org/r/20240824055047.1706392-14-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+1 -1
+1 -1
drivers/input/touchscreen/zforce_ts.c
··· 855 855 return 0; 856 856 } 857 857 858 - static struct i2c_device_id zforce_idtable[] = { 858 + static const struct i2c_device_id zforce_idtable[] = { 859 859 { "zforce-ts" }, 860 860 { } 861 861 };