瀏覽代碼

[PATCH] libertas: fix one more sparse warning

adhoc_rates_b is only used locally, so make it static

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Holger Schurig 18 年之前
父節點
當前提交
c23a24f6ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/wireless/libertas/join.c

+ 1 - 1
drivers/net/wireless/libertas/join.c

@@ -18,7 +18,7 @@
 #include "assoc.h"
 
 /* Supported rates for ad-hoc B mode */
-u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
+static u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
 
 
 /**