diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-21 04:55:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:20 -0400 |
commit | caa6dfadebee2098e9c5ece1d5efae96a6926d0f (patch) | |
tree | f8d0f598293d7884de0897856d5ea62d585ca0ad /drivers/net/wireless/rndis_wlan.c | |
parent | 29b4a4f7c7b588b5568edd0da42f38623b81fc66 (diff) |
rndis_wlan: make some symbols static
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 109e60343363..4b11ceae5b64 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -415,12 +415,12 @@ static int rndis_change_virtual_intf(struct wiphy *wiphy, int ifindex, | |||
415 | static int rndis_scan(struct wiphy *wiphy, struct net_device *dev, | 415 | static int rndis_scan(struct wiphy *wiphy, struct net_device *dev, |
416 | struct cfg80211_scan_request *request); | 416 | struct cfg80211_scan_request *request); |
417 | 417 | ||
418 | struct cfg80211_ops rndis_config_ops = { | 418 | static struct cfg80211_ops rndis_config_ops = { |
419 | .change_virtual_intf = rndis_change_virtual_intf, | 419 | .change_virtual_intf = rndis_change_virtual_intf, |
420 | .scan = rndis_scan, | 420 | .scan = rndis_scan, |
421 | }; | 421 | }; |
422 | 422 | ||
423 | void *rndis_wiphy_privid = &rndis_wiphy_privid; | 423 | static void *rndis_wiphy_privid = &rndis_wiphy_privid; |
424 | 424 | ||
425 | static const int bcm4320_power_output[4] = { 25, 50, 75, 100 }; | 425 | static const int bcm4320_power_output[4] = { 25, 50, 75, 100 }; |
426 | 426 | ||