summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2010-01-09 23:23:02 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-09 23:28:33 -0800
commitce7b39a181571ed5a87f3ca62d4cffe4835c6ae9 (patch)
treead75d8c7606f5df04e93762214a0ab95602a610e /drivers/input/keyboard
parent8cab9ba10493cea164ac8bbbc733c21a528e6fe5 (diff)
Input: make i2c device ids constant
The id_table field of the struct i2c_driver is defined as constant in <linux/i2c.h> so it makes sense to mark the initialization data also constant. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r--drivers/input/keyboard/qt2160.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/qt2160.c b/drivers/input/keyboard/qt2160.c
index 191cc51d6cf8..31f30087b591 100644
--- a/drivers/input/keyboard/qt2160.c
+++ b/drivers/input/keyboard/qt2160.c
@@ -362,7 +362,7 @@ static int __devexit qt2160_remove(struct i2c_client *client)
return 0;
}
-static struct i2c_device_id qt2160_idtable[] = {
+static const struct i2c_device_id qt2160_idtable[] = {
{ "qt2160", 0, },
{ }
};