projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c4b91
)
Input: xen-kbdfront - make xenbus device ids constant
author
Márton Németh
<nm127@freemail.hu>
Sun, 10 Jan 2010 07:25:44 +0000
(23:25 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sun, 10 Jan 2010 07:29:27 +0000
(23:29 -0800)
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>
drivers/input/xen-kbdfront.c
patch
|
blob
|
history
diff --git
a/drivers/input/xen-kbdfront.c
b/drivers/input/xen-kbdfront.c
index
c721c0a
..
d30436f
100644
(file)
--- 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" },
{ "" }
};