linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] b43legacy: Fix sparse warning
@ 2007-11-07 20:21 Michael Buesch
  2007-11-07 23:29 ` Stefano Brivio
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Buesch @ 2007-11-07 20:21 UTC (permalink / raw)
  To: John Linville; +Cc: Stefano Brivio, bcm43xx-dev, linux-wireless

Fix a sparse warning about a nonstatic function.

Signed-off-by: Michael Buesch <mb@bu3sch.de>

---

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-07 23:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 20:21 [PATCH] b43legacy: Fix sparse warning Michael Buesch
2007-11-07 23:29 ` Stefano Brivio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).