diff options
author | Márton Németh <nm127@freemail.hu> | 2010-01-10 08:25:44 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-01-10 08:29:27 +0100 |
commit | c6d5709384090de541158a6bba8d4ae50242ff94 (patch) | |
tree | aa15aed111494718846b69317156deb75c97d25d /drivers/input/xen-kbdfront.c | |
parent | Input: ns558 - make pnp device ids constant (diff) | |
download | linux-c6d5709384090de541158a6bba8d4ae50242ff94.tar.xz linux-c6d5709384090de541158a6bba8d4ae50242ff94.zip |
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>
Diffstat (limited to 'drivers/input/xen-kbdfront.c')
-rw-r--r-- | drivers/input/xen-kbdfront.c | 2 |
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" }, { "" } }; |