diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-24 08:50:37 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-06 08:56:46 +0300 |
commit | b5ed81cc7bccef90e39ee36b0c1f3677686a0fbb (patch) | |
tree | 0a6c21fc136f20533668f2e46923e2394befbd86 | |
parent | 7e168b81e6f84d67c1829d93bf3e6043ba27d074 (diff) | |
download | linux-b5ed81cc7bccef90e39ee36b0c1f3677686a0fbb.tar.xz |
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>
-rw-r--r-- | drivers/input/touchscreen/zforce_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 78f561510f8d..2ae079db8884 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -855,7 +855,7 @@ static int zforce_probe(struct i2c_client *client) return 0; } -static struct i2c_device_id zforce_idtable[] = { +static const struct i2c_device_id zforce_idtable[] = { { "zforce-ts" }, { } }; |