summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/apanel.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2010-01-10 08:23:02 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-10 08:28:33 +0100
commitce7b39a181571ed5a87f3ca62d4cffe4835c6ae9 (patch)
treead75d8c7606f5df04e93762214a0ab95602a610e /drivers/input/misc/apanel.c
parentInput: elo - switch to using dev_xxx() when printing messages (diff)
downloadlinux-ce7b39a181571ed5a87f3ca62d4cffe4835c6ae9.tar.xz
linux-ce7b39a181571ed5a87f3ca62d4cffe4835c6ae9.zip
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/misc/apanel.c')
-rw-r--r--drivers/input/misc/apanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/apanel.c b/drivers/input/misc/apanel.c
index 71b82434264d..a8d2b8db4e35 100644
--- a/drivers/input/misc/apanel.c
+++ b/drivers/input/misc/apanel.c
@@ -149,7 +149,7 @@ static void apanel_shutdown(struct i2c_client *client)
apanel_remove(client);
}
-static struct i2c_device_id apanel_id[] = {
+static const struct i2c_device_id apanel_id[] = {
{ "fujitsu_apanel", 0 },
{ }
};