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>
This commit is contained in:
Dmitry Torokhov 2024-08-23 22:50:37 -07:00
parent 7e168b81e6
commit b5ed81cc7b

View File

@ -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" },
{ }
};