Input: imx_keypad - make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 19:59:47 +0000 (12:59 -0700)
committerDmitry 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

index 97ec33572e563fce0ab5dfedf0aeaa966462f05c..8280cb16260be6f31840480ca3fd19a64bfffa1c 100644 (file)
@@ -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 */ }
 };