Fix a sparse warning about a nonstatic function.
Signed-off-by: Michael Buesch <[email protected]>
---
Note that this patch might collide with Stefano's recently
sent patches. But it should be trivial enough to fix that.
Index: wireless-2.6/drivers/net/wireless/b43legacy/main.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/b43legacy/main.c 2007-11-07 20:31:06.000000000 +0100
+++ wireless-2.6/drivers/net/wireless/b43legacy/main.c 2007-11-07 20:47:36.000000000 +0100
@@ -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;
On Wed, 7 Nov 2007 21:21:55 +0100
Michael Buesch <[email protected]> wrote:
> Fix a sparse warning about a nonstatic function.
>
> Signed-off-by: Michael Buesch <[email protected]>
Acked-by: Stefano Brivio <[email protected]>
--
Ciao
Stefano