diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 22:09:52 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-15 01:40:00 +0200 |
commit | e3c3f4a9d15653c3d8afb957a6f470e8f3f893a1 (patch) | |
tree | c0c42d54329e74e54e52f2b95099eb7d3a06e8b3 /drivers/input/touchscreen/mms114.c | |
parent | Input: lpc32xx_ts - make of_device_id array const (diff) | |
download | linux-e3c3f4a9d15653c3d8afb957a6f470e8f3f893a1.tar.xz linux-e3c3f4a9d15653c3d8afb957a6f470e8f3f893a1.zip |
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/mms114.c')
-rw-r--r-- | drivers/input/touchscreen/mms114.c | 2 |
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" }, { } }; |