projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/input/xen-kbdfront.c
b/drivers/input/xen-kbdfront.c
index c721c0a23eb831d20672e16120b3278e8901f428..d30436fee4760f02486e952e9468af375432161c 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" },
{ "" }
};