提交 caa6dfad 编写于 作者: J Johannes Berg 提交者: John W. Linville

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: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 29b4a4f7
...@@ -415,12 +415,12 @@ static int rndis_change_virtual_intf(struct wiphy *wiphy, int ifindex, ...@@ -415,12 +415,12 @@ static int rndis_change_virtual_intf(struct wiphy *wiphy, int ifindex,
static int rndis_scan(struct wiphy *wiphy, struct net_device *dev, static int rndis_scan(struct wiphy *wiphy, struct net_device *dev,
struct cfg80211_scan_request *request); 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, .change_virtual_intf = rndis_change_virtual_intf,
.scan = rndis_scan, .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 }; static const int bcm4320_power_output[4] = { 25, 50, 75, 100 };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册