diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-08-14 20:31:13 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-08-15 06:28:47 +0300 |
commit | 2e53d52c0108f03fb9fc67419c20a0b31acade52 (patch) | |
tree | baf7507b33fcd8ef40088474e66cf108f0016adc /drivers/input | |
parent | 6ecd36d732886ecb07768432212efce9cfb6ac2f (diff) | |
download | linux-2e53d52c0108f03fb9fc67419c20a0b31acade52.tar.xz |
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')
-rw-r--r-- | drivers/input/touchscreen/mxs-lradc-ts.c | 2 |
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", |