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-Tag: v4.14-rc1~111^2^2~46 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=2e53d52c0108f03fb9fc67419c20a0b31acade52;p=linux.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",