aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárton Németh2010-01-09 23:25:44 -0800
committerDmitry Torokhov2010-01-09 23:29:27 -0800
commitc6d5709384090de541158a6bba8d4ae50242ff94 (patch)
treeaa15aed111494718846b69317156deb75c97d25d
parent35c4b918a696f20cb775f1a65955c8ed0fe7c052 (diff)
Input: xen-kbdfront - make xenbus device ids constant
The ids field of the struct xenbus_device_id is constant in <linux/xen/xenbus.h> so it makes sense to mark xenkbd_ids also constant. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/input/xen-kbdfront.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/xen-kbdfront.c b/drivers/input/xen-kbdfront.c
index c721c0a23eb8..d30436fee476 100644
--- a/drivers/input/xen-kbdfront.c
+++ b/drivers/input/xen-kbdfront.c
@@ -321,7 +321,7 @@ InitWait:
}
}
-static struct xenbus_device_id xenkbd_ids[] = {
+static const struct xenbus_device_id xenkbd_ids[] = {
{ "vkbd" },
{ "" }
};