Commit 36d9c250 authored by Tugce Sirin's avatar Tugce Sirin Committed by Peter P Waskiewicz Jr

Staging: wlan-ng: Fix sparse non-static symbol warning

Fix sparse non-static symbol warning in wlan-ng driver.
Signed-off-by: default avatarTugce Sirin <ztugcesirin@gmail.com>
Acked-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent 98e2dda3
...@@ -749,7 +749,7 @@ static const struct cfg80211_ops prism2_usb_cfg_ops = { ...@@ -749,7 +749,7 @@ static const struct cfg80211_ops prism2_usb_cfg_ops = {
/* Functions to create/free wiphy interface */ /* 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 wiphy *wiphy;
struct prism2_wiphy_private *priv; struct prism2_wiphy_private *priv;
...@@ -786,7 +786,7 @@ struct wiphy *wlan_create_wiphy(struct device *dev, wlandevice_t *wlandev) ...@@ -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_unregister(wiphy);
wiphy_free(wiphy); wiphy_free(wiphy);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment