aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/zforce_ts.c
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/touchscreen/zforce_ts.c
parentInput: mms114 - make of_device_id array const (diff)
downloadlinux-dev-f3f6319352f1c27dfecb47a95538ef209820c84f.tar.xz
linux-dev-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/touchscreen/zforce_ts.c')
-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" },
{},
};