public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rndis_wlan: make some symbols static
@ 2009-04-21  8:55 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-04-21  8:55 UTC (permalink / raw)
  To: John Linville; +Cc: Jussi Kivilinna, linux-wireless

sparse complains, correctly, about these:

drivers/net/wireless/rndis_wlan.c:418:21: warning: symbol 'rndis_config_ops' was not declared. Should it be static?
drivers/net/wireless/rndis_wlan.c:423:6: warning: symbol 'rndis_wiphy_privid' was not declared. Should it be static?

Fix that.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 drivers/net/wireless/rndis_wlan.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- wireless-testing.orig/drivers/net/wireless/rndis_wlan.c	2009-04-21 10:53:35.000000000 +0200
+++ wireless-testing/drivers/net/wireless/rndis_wlan.c	2009-04-21 10:53:47.000000000 +0200
@@ -415,12 +415,12 @@ static int rndis_change_virtual_intf(str
 static int rndis_scan(struct wiphy *wiphy, struct net_device *dev,
 			struct cfg80211_scan_request *request);
 
-struct cfg80211_ops rndis_config_ops = {
+static struct cfg80211_ops rndis_config_ops = {
 	.change_virtual_intf = rndis_change_virtual_intf,
 	.scan = rndis_scan,
 };
 
-void *rndis_wiphy_privid = &rndis_wiphy_privid;
+static void *rndis_wiphy_privid = &rndis_wiphy_privid;
 
 static const int bcm4320_power_output[4] = { 25, 50, 75, 100 };
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-21  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21  8:55 [PATCH] rndis_wlan: make some symbols static Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox