diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 13:08:53 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 16:39:59 -0700 |
commit | a5fd844c83b8597e4d5ab5f4dcc961df3d9a7486 (patch) | |
tree | bb9ec2f1bca1b7fe6d0fa5da503351a43e8381b5 /drivers/input/touchscreen | |
parent | 69f8cafd017b0c15a2586750368ef52a6c66f899 (diff) | |
download | linux-a5fd844c83b8597e4d5ab5f4dcc961df3d9a7486.tar.bz2 |
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.c | 2 |
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 */ } }; |