HID: thingm: thingm_fwinfo[] doesn't need to be global
authorJiri Kosina <jkosina@suse.cz>
Tue, 3 Jun 2014 11:29:38 +0000 (13:29 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 3 Jun 2014 11:29:38 +0000 (13:29 +0200)
No need to pollute global namespace by thingm_fwinfo[]. Make it static.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-thingm.c

index 31de890d14cf479cbb6cd7ddb9a83b0881c308ef..134be89b15eadd3af92f81ac55e8d4d77790529e 100644 (file)
@@ -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,