projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597173a
)
Input: apbps2 - make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 20:04:50 +0000
(13:04 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:39:57 +0000
(16:39 -0700)
Make of_device_id array const, because all OF functions handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/apbps2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/serio/apbps2.c
b/drivers/input/serio/apbps2.c
index 17e01a807ddc60129b1943a67b89c665789f644f..98be824544a531a5bbcd7772c01472ea385cd2ed 100644
(file)
--- a/
drivers/input/serio/apbps2.c
+++ b/
drivers/input/serio/apbps2.c
@@
-203,7
+203,7
@@
static int apbps2_of_remove(struct platform_device *of_dev)
return 0;
}
-static struct of_device_id apbps2_of_match[] = {
+static
const
struct of_device_id apbps2_of_match[] = {
{ .name = "GAISLER_APBPS2", },
{ .name = "01_060", },
{}