summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
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/serio
parent597173a89a76ef1aafd02fc6cef7e0d3804b930b (diff)
downloadop-kernel-dev-051f7de728f377037673e547fe477da008d2fb83.zip
op-kernel-dev-051f7de728f377037673e547fe477da008d2fb83.tar.gz
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/serio')
-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 17e01a8..98be824 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", },
{}
OpenPOWER on IntegriCloud