Skip to content

Commit

Permalink
HID: thingm: thingm_fwinfo[] doesn't need to be global
Browse files Browse the repository at this point in the history
No need to pollute global namespace by thingm_fwinfo[]. Make it static.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Jiri Kosina committed Jun 3, 2014
1 parent 3121b1c commit e4aecaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hid-thingm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e4aecaf

Please sign in to comment.