aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-08-14 10:31:13 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-08-14 20:28:47 -0700
commit2e53d52c0108f03fb9fc67419c20a0b31acade52 (patch)
treebaf7507b33fcd8ef40088474e66cf108f0016adc /drivers/input/touchscreen
parentInput: mxs-lradc - use correct error check (diff)
downloadlinux-dev-2e53d52c0108f03fb9fc67419c20a0b31acade52.tar.xz
linux-dev-2e53d52c0108f03fb9fc67419c20a0b31acade52.zip
Input: mxs-lradc - make symbol mxs_lradc_ts_irq_names static
Fixes the following sparse warning: drivers/input/touchscreen/mxs-lradc-ts.c:33:12: warning: symbol 'mxs_lradc_ts_irq_names' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> [dtor: changed to static const char * const] Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/mxs-lradc-ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/mxs-lradc-ts.c b/drivers/input/touchscreen/mxs-lradc-ts.c
index 816f5c8c101d..3707e927f770 100644
--- a/drivers/input/touchscreen/mxs-lradc-ts.c
+++ b/drivers/input/touchscreen/mxs-lradc-ts.c
@@ -30,7 +30,7 @@
#include <linux/of_irq.h>
#include <linux/platform_device.h>
-const char *mxs_lradc_ts_irq_names[] = {
+static const char * const mxs_lradc_ts_irq_names[] = {
"mxs-lradc-touchscreen",
"mxs-lradc-channel6",
"mxs-lradc-channel7",