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 31de890..134be89 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,