projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5fd844
)
Input: lpc32xx_ts - make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 20:09:17 +0000
(13:09 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:40:00 +0000
(16:40 -0700)
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>
drivers/input/touchscreen/lpc32xx_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/lpc32xx_ts.c
b/drivers/input/touchscreen/lpc32xx_ts.c
index 2058253b55d9bfb461d1aa2a44cb7cd72d778d66..bb47d3442a35ee9111bcb2ccbe420ed2d9e134b4 100644
(file)
--- 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", },
{ },
};