summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 12:58:36 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-14 16:39:54 -0700
commit90c98ef50b1594a453e4e4b2c5b0ffc168477a2d (patch)
tree4b48c4a7f46a43b93fc744d9280f8d38839305fa /drivers/input/keyboard
parent22daae31ddc09423f512e8d68f1d92af03935ae8 (diff)
Input: gpio_keys_polled - 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/gpio_keys_polled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c
index e571e194ff84..bea53a633c52 100644
--- a/drivers/input/keyboard/gpio_keys_polled.c
+++ b/drivers/input/keyboard/gpio_keys_polled.c
@@ -191,7 +191,7 @@ err_out:
return ERR_PTR(error);
}
-static struct of_device_id gpio_keys_polled_of_match[] = {
+static const struct of_device_id gpio_keys_polled_of_match[] = {
{ .compatible = "gpio-keys-polled", },
{ },
};