diff options
author | Tugce Sirin | 2014-03-13 18:47:44 +0100 |
---|---|---|
committer | Peter P Waskiewicz Jr | 2014-03-17 01:54:49 +0100 |
commit | 36d9c250b425c77068c81fcc23e40feaddc331a1 (patch) | |
tree | 4d14f4d5ae8be7177aaf5ad6f49e9cf122829130 /drivers/staging/wlan-ng/cfg80211.c | |
parent | staging: sep: Add fallthrough comment (diff) | |
download | kernel-qcow2-linux-36d9c250b425c77068c81fcc23e40feaddc331a1.tar.gz kernel-qcow2-linux-36d9c250b425c77068c81fcc23e40feaddc331a1.tar.xz kernel-qcow2-linux-36d9c250b425c77068c81fcc23e40feaddc331a1.zip |
Staging: wlan-ng: Fix sparse non-static symbol warning
Fix sparse non-static symbol warning in wlan-ng driver.
Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com>
Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'drivers/staging/wlan-ng/cfg80211.c')
-rw-r--r-- | drivers/staging/wlan-ng/cfg80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c index 6c317304b658..f76f95c29617 100644 --- a/drivers/staging/wlan-ng/cfg80211.c +++ b/drivers/staging/wlan-ng/cfg80211.c @@ -749,7 +749,7 @@ static const struct cfg80211_ops prism2_usb_cfg_ops = { /* Functions to create/free wiphy interface */ -struct wiphy *wlan_create_wiphy(struct device *dev, wlandevice_t *wlandev) +static struct wiphy *wlan_create_wiphy(struct device *dev, wlandevice_t *wlandev) { struct wiphy *wiphy; struct prism2_wiphy_private *priv; @@ -786,7 +786,7 @@ struct wiphy *wlan_create_wiphy(struct device *dev, wlandevice_t *wlandev) } -void wlan_free_wiphy(struct wiphy *wiphy) +static void wlan_free_wiphy(struct wiphy *wiphy) { wiphy_unregister(wiphy); wiphy_free(wiphy); |