summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 22:08:53 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-15 01:39:59 +0200
commita5fd844c83b8597e4d5ab5f4dcc961df3d9a7486 (patch)
treebb9ec2f1bca1b7fe6d0fa5da503351a43e8381b5 /drivers/input
parentInput: auo-pixcir-ts - make of_device_id array const (diff)
downloadlinux-a5fd844c83b8597e4d5ab5f4dcc961df3d9a7486.tar.xz
linux-a5fd844c83b8597e4d5ab5f4dcc961df3d9a7486.zip
Input: egalax_ts - 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/touchscreen/egalax_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index e6bcb13680b2..c8057847d71d 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -262,7 +262,7 @@ static int egalax_ts_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(egalax_ts_pm_ops, egalax_ts_suspend, egalax_ts_resume);
-static struct of_device_id egalax_ts_dt_ids[] = {
+static const struct of_device_id egalax_ts_dt_ids[] = {
{ .compatible = "eeti,egalax_ts" },
{ /* sentinel */ }
};