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:
@@ -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" },
|
||||
{ }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user