diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-08 00:09:17 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-15 03:40:00 +0400 |
commit | f23e0abdab17420ff11c96f26d6909790060437a (patch) | |
tree | 015098577dd712f94dd6e114061334b9c45cc89f /drivers/input/touchscreen/lpc32xx_ts.c | |
parent | a5fd844c83b8597e4d5ab5f4dcc961df3d9a7486 (diff) | |
download | linux-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.c | 2 |
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", }, { }, }; |