aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 13:08:53 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-14 16:39:59 -0700
commita5fd844c83b8597e4d5ab5f4dcc961df3d9a7486 (patch)
treebb9ec2f1bca1b7fe6d0fa5da503351a43e8381b5 /drivers/input/touchscreen
parentInput: auo-pixcir-ts - make of_device_id array const (diff)
downloadlinux-dev-a5fd844c83b8597e4d5ab5f4dcc961df3d9a7486.tar.xz
linux-dev-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/touchscreen')
-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 */ }
};