From: Jingoo Han Date: Wed, 7 May 2014 19:57:31 +0000 (-0700) Subject: Input: clps711x-keypad - make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af4cf6d38a045faa43e4d5585333aea028430a74;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Input: clps711x-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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/clps711x-keypad.c b/drivers/input/keyboard/clps711x-keypad.c index 3955aecee44b..552b65c6e6b0 100644 --- a/drivers/input/keyboard/clps711x-keypad.c +++ b/drivers/input/keyboard/clps711x-keypad.c @@ -185,7 +185,7 @@ static int clps711x_keypad_remove(struct platform_device *pdev) return 0; } -static struct of_device_id clps711x_keypad_of_match[] = { +static const struct of_device_id clps711x_keypad_of_match[] = { { .compatible = "cirrus,clps711x-keypad", }, { } };