projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c98ef
)
Input: imx_keypad - make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 19:59:47 +0000
(12:59 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:39:54 +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/keyboard/imx_keypad.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/imx_keypad.c
b/drivers/input/keyboard/imx_keypad.c
index 97ec33572e563fce0ab5dfedf0aeaa966462f05c..8280cb16260be6f31840480ca3fd19a64bfffa1c 100644
(file)
--- a/
drivers/input/keyboard/imx_keypad.c
+++ b/
drivers/input/keyboard/imx_keypad.c
@@
-415,7
+415,7
@@
open_err:
}
#ifdef CONFIG_OF
-static struct of_device_id imx_keypad_of_match[] = {
+static
const
struct of_device_id imx_keypad_of_match[] = {
{ .compatible = "fsl,imx21-kpp", },
{ /* sentinel */ }
};