Commit 2e53d52c authored by Wei Yongjun's avatar Wei Yongjun Committed by Dmitry Torokhov

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
[dtor: changed to static const char * const]
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 6ecd36d7
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/of_irq.h> #include <linux/of_irq.h>
#include <linux/platform_device.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-touchscreen",
"mxs-lradc-channel6", "mxs-lradc-channel6",
"mxs-lradc-channel7", "mxs-lradc-channel7",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment