mac80211: fix sparse warning
[linux-block.git] / net / mac80211 / cfg.c
index 36f8f245fa4c83c8fb80e4dcd197d09c63d65c64..52928ad90570a51058fbe8dd769ad91704daede5 100644 (file)
@@ -1293,7 +1293,7 @@ static void ieee80211_rfkill_poll(struct wiphy *wiphy)
 }
 
 #ifdef CONFIG_NL80211_TESTMODE
-int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len)
+static int ieee80211_testmode_cmd(struct wiphy *wiphy, void *data, int len)
 {
        struct ieee80211_local *local = wiphy_priv(wiphy);