Input: cy8ctmg110_ts - constify i2c_device_id table
Subsystems (3)
PATCH 1/2 Input: cy8ctmg110_ts - constify i2c_device_id table
Signed-off-by Axel Lin <[email protected]>
--- drivers/input/touchscreen/cy8ctmg110_ts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/touchscreen/cy8ctmg110_ts.c +1 -1
@@ -328,7 +328,7 @@ static int __devexit cy8ctmg110_remove(struct i2c_client *client)return 0 ; } -static struct i2c_device_id cy8ctmg110_idtable[] = { +static const struct i2c_device_id cy8ctmg110_idtable[] = { {CY8CTMG110_DRIVER_NAME ,1 }, { } };
Signature · 1 line
1.7.4.1
PATCH 2/2 mfd: aat2870-core: constify i2c_device_id table
Signed-off-by Axel Lin <[email protected]>
--- drivers/mfd/aat2870-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/aat2870-core.c +1 -1
@@ -500,7 +500,7 @@ static int aat2870_i2c_resume(struct i2c_client *client)#define aat2870_i2c_resume NULL#endif /* CONFIG_PM */ -static struct i2c_device_id aat2870_i2c_id_table[] = { +static const struct i2c_device_id aat2870_i2c_id_table[] = { {"aat2870" ,0 }, { } };
Signature · 1 line
1.7.4.1