summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 13:09:52 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-14 16:40:00 -0700
commite3c3f4a9d15653c3d8afb957a6f470e8f3f893a1 (patch)
treec0c42d54329e74e54e52f2b95099eb7d3a06e8b3 /drivers/input/touchscreen
parentf23e0abdab17420ff11c96f26d6909790060437a (diff)
Input: mms114 - 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/mms114.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 8a598c065391..9d83413bbba7 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -570,7 +570,7 @@ static const struct i2c_device_id mms114_id[] = {
MODULE_DEVICE_TABLE(i2c, mms114_id);
#ifdef CONFIG_OF
-static struct of_device_id mms114_dt_match[] = {
+static const struct of_device_id mms114_dt_match[] = {
{ .compatible = "melfas,mms114" },
{ }
};