Staging: wlan-ng: Fix sparse non-static symbol warning
authorTugce Sirin <ztugcesirin@gmail.com>
Thu, 13 Mar 2014 17:47:44 +0000 (19:47 +0200)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 17 Mar 2014 00:54:49 +0000 (17:54 -0700)
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>
drivers/staging/wlan-ng/cfg80211.c

index 6c317304b6586d962bbe8069ae3003f99e1c3317..f76f95c29617b3b7058a1999b7896d4e3d8a875a 100644 (file)
@@ -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);