Skip to contentSkip to conversation

b43legacy: Fix sparse warning

PATCH In review Michael Buesch 2 participants 2 messages Nov 7, 2007 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 b43legacy: Fix sparse warning

Fix a sparse warning about a nonstatic function.

---

Note that this patch might collide with Stefano's recently sent patches. But it should be trivial enough to fix that.

drivers/net/wireless/b43legacy/main.c +1 -1
Index: wireless-2.6/drivers/net/wireless/b43legacy/main.c
===================================================================
@@ -3238,7 +3238,7 @@ out_mutex_unlock:
 	return err;
 }
 
-void b43legacy_stop(struct ieee80211_hw *hw)
+static void b43legacy_stop(struct ieee80211_hw *hw)
 {
 	struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw);
 	struct b43legacy_wldev *dev = wl->current_dev;