summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/lpc32xx_ts.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-08 00:09:17 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-15 03:40:00 +0400
commitf23e0abdab17420ff11c96f26d6909790060437a (patch)
tree015098577dd712f94dd6e114061334b9c45cc89f /drivers/input/touchscreen/lpc32xx_ts.c
parenta5fd844c83b8597e4d5ab5f4dcc961df3d9a7486 (diff)
downloadlinux-f23e0abdab17420ff11c96f26d6909790060437a.tar.xz
Input: lpc32xx_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> Acked-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/lpc32xx_ts.c')
-rw-r--r--drivers/input/touchscreen/lpc32xx_ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c
index 2058253b55d9..bb47d3442a35 100644
--- a/drivers/input/touchscreen/lpc32xx_ts.c
+++ b/drivers/input/touchscreen/lpc32xx_ts.c
@@ -384,7 +384,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = {
#endif
#ifdef CONFIG_OF
-static struct of_device_id lpc32xx_tsc_of_match[] = {
+static const struct of_device_id lpc32xx_tsc_of_match[] = {
{ .compatible = "nxp,lpc3220-tsc", },
{ },
};