瀏覽代碼

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 <jkosina@suse.cz>
Jiri Kosina 11 年之前
父節點
當前提交
e4aecaf2f5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/hid/hid-thingm.c

+ 1 - 1
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,