瀏覽代碼

[PATCH] ieee80211: fix sparse warning about missing "static"

This patch adds a missing "static" on a variable (sparse complaint)

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Johannes Berg 19 年之前
父節點
當前提交
b7cffb028a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/ieee80211/ieee80211_module.c

+ 1 - 1
net/ieee80211/ieee80211_module.c

@@ -213,7 +213,7 @@ void free_ieee80211(struct net_device *dev)
 
 static int debug = 0;
 u32 ieee80211_debug_level = 0;
-struct proc_dir_entry *ieee80211_proc = NULL;
+static struct proc_dir_entry *ieee80211_proc = NULL;
 
 static int show_debug_level(char *page, char **start, off_t offset,
 			    int count, int *eof, void *data)