summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 13:10:16 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-14 16:40:01 -0700
commitf3f6319352f1c27dfecb47a95538ef209820c84f (patch)
treeda45198d4f7d30f4f454e8c1b4791b65ceaf7237 /drivers/input
parente3c3f4a9d15653c3d8afb957a6f470e8f3f893a1 (diff)
downloadlinux-stable-f3f6319352f1c27dfecb47a95538ef209820c84f.tar.gz
linux-stable-f3f6319352f1c27dfecb47a95538ef209820c84f.tar.bz2
linux-stable-f3f6319352f1c27dfecb47a95538ef209820c84f.zip
Input: zforce - 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> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/zforce_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c
index 01d30cedde46..feea85b52fa8 100644
--- a/drivers/input/touchscreen/zforce_ts.c
+++ b/drivers/input/touchscreen/zforce_ts.c
@@ -880,7 +880,7 @@ static struct i2c_device_id zforce_idtable[] = {
MODULE_DEVICE_TABLE(i2c, zforce_idtable);
#ifdef CONFIG_OF
-static struct of_device_id zforce_dt_idtable[] = {
+static const struct of_device_id zforce_dt_idtable[] = {
{ .compatible = "neonode,zforce" },
{},
};