Skip to content

Commit b5ed81c

Browse files
committed
Input: zforce_ts - make zforce_idtable constant
The I2C ID table is not supposed to change; mark it as const. Tested-by: Andreas Kemnade <[email protected]> # Tolino Shine2HD Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 7e168b8 commit b5ed81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/touchscreen/zforce_ts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ static int zforce_probe(struct i2c_client *client)
855855
return 0;
856856
}
857857

858-
static struct i2c_device_id zforce_idtable[] = {
858+
static const struct i2c_device_id zforce_idtable[] = {
859859
{ "zforce-ts" },
860860
{ }
861861
};

0 commit comments

Comments
 (0)