Skip to contentSkip to conversation

Input: cy8ctmg110_ts - constify i2c_device_id table

PATCH New Axel Lin 1 participant 2 messages Jul 12, 2011

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/2 Input: cy8ctmg110_ts - constify i2c_device_id table

---
 drivers/input/touchscreen/cy8ctmg110_ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/touchscreen/cy8ctmg110_ts.c +1 -1
index a93c5c2..4481cc5 100644
@@ -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
author
#1 lore raw

PATCH 2/2 mfd: aat2870-core: constify i2c_device_id table

---
 drivers/mfd/aat2870-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/aat2870-core.c +1 -1
index 345dc65..a7c1a1b 100644
@@ -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