summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 13:04:50 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-14 16:39:57 -0700
commit051f7de728f377037673e547fe477da008d2fb83 (patch)
tree331d56007c6c5824bb92714bdad12786c0e2e7b2 /drivers/input
parent597173a89a76ef1aafd02fc6cef7e0d3804b930b (diff)
downloadlinux-051f7de728f377037673e547fe477da008d2fb83.tar.gz
linux-051f7de728f377037673e547fe477da008d2fb83.tar.bz2
linux-051f7de728f377037673e547fe477da008d2fb83.zip
Input: apbps2 - 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')
-rw-r--r--drivers/input/serio/apbps2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c
index 17e01a807ddc..98be824544a5 100644
--- a/drivers/input/serio/apbps2.c
+++ b/drivers/input/serio/apbps2.c
@@ -203,7 +203,7 @@ static int apbps2_of_remove(struct platform_device *of_dev)
return 0;
}
-static struct of_device_id apbps2_of_match[] = {
+static const struct of_device_id apbps2_of_match[] = {
{ .name = "GAISLER_APBPS2", },
{ .name = "01_060", },
{}