Commit b5ed81cc authored by Dmitry Torokhov's avatar Dmitry Torokhov

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.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 7e168b81
......@@ -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" },
{ }
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment