summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 21:59:47 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-15 01:39:54 +0200
commit27ec39c0770d13f7f38b092c5f7b9de79f88a911 (patch)
tree39392abf52bb9d6520886d3be810958d3b5c3711 /drivers/input/keyboard
parentInput: gpio_keys_polled - make of_device_id array const (diff)
downloadlinux-27ec39c0770d13f7f38b092c5f7b9de79f88a911.tar.xz
linux-27ec39c0770d13f7f38b092c5f7b9de79f88a911.zip
Input: imx_keypad - make of_device_id array const
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>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r--drivers/input/keyboard/imx_keypad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c
index 97ec33572e56..8280cb16260b 100644
--- 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 */ }
};