From: Wei Yongjun Date: Mon, 14 Aug 2017 17:31:13 +0000 (-0700) Subject: Input: mxs-lradc - make symbol mxs_lradc_ts_irq_names static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e53d52c0108f03fb9fc67419c20a0b31acade52;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 [dtor: changed to static const char * const] Signed-off-by: Dmitry Torokhov --- 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 #include -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",