* [PATCH 1/2] Input: cy8ctmg110_ts - constify i2c_device_id table
@ 2011-07-12 6:00 Axel Lin
2011-07-12 6:01 ` [PATCH 2/2] mfd: aat2870-core: " Axel Lin
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-07-12 6:00 UTC (permalink / raw)
To: linux-kernel; +Cc: Dmitry Torokhov, Samuli Konttila, linux-input
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/input/touchscreen/cy8ctmg110_ts.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c
index a93c5c2..4481cc5 100644
--- a/drivers/input/touchscreen/cy8ctmg110_ts.c
+++ b/drivers/input/touchscreen/cy8ctmg110_ts.c
@@ -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 },
{ }
};
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] mfd: aat2870-core: constify i2c_device_id table
2011-07-12 6:00 [PATCH 1/2] Input: cy8ctmg110_ts - constify i2c_device_id table Axel Lin
@ 2011-07-12 6:01 ` Axel Lin
0 siblings, 0 replies; 2+ messages in thread
From: Axel Lin @ 2011-07-12 6:01 UTC (permalink / raw)
To: linux-kernel; +Cc: Jin Park, Samuel Ortiz
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/mfd/aat2870-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/aat2870-core.c b/drivers/mfd/aat2870-core.c
index 345dc65..a7c1a1b 100644
--- a/drivers/mfd/aat2870-core.c
+++ b/drivers/mfd/aat2870-core.c
@@ -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 },
{ }
};
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-12 6:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-12 6:00 [PATCH 1/2] Input: cy8ctmg110_ts - constify i2c_device_id table Axel Lin
2011-07-12 6:01 ` [PATCH 2/2] mfd: aat2870-core: " Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox