From: Jiri Kosina Date: Tue, 3 Jun 2014 11:29:38 +0000 (+0200) Subject: HID: thingm: thingm_fwinfo[] doesn't need to be global X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e4aecaf2f53bc6635b484ee2f1b8a1e4c73e7997;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git HID: thingm: thingm_fwinfo[] doesn't need to be global No need to pollute global namespace by thingm_fwinfo[]. Make it static. Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-thingm.c b/drivers/hid/hid-thingm.c index 31de890d14cf..134be89b15ea 100644 --- a/drivers/hid/hid-thingm.c +++ b/drivers/hid/hid-thingm.c @@ -31,7 +31,7 @@ struct thingm_fwinfo { unsigned first; }; -const struct thingm_fwinfo thingm_fwinfo[] = { +static const struct thingm_fwinfo thingm_fwinfo[] = { { .major = THINGM_MAJOR_MK1, .numrgb = 1,