]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: make add_virtual_intf static
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Sep 2015 09:34:52 +0000 (18:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:29:50 +0000 (02:29 +0200)
This patch makes add_virtual_intf static. This function is used only at
wilc_wfi_cfgoperation.c file.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 0becefb8812e3600fae768ece861d8e0a561dd5f..7d26ccd20390586c7ff5d342a00d96139e0f765d 100644 (file)
@@ -3321,10 +3321,12 @@ static int change_station(struct wiphy *wiphy, struct net_device *dev,
  *  @date      01 JUL 2012
  *  @version   1.0
  */
-struct wireless_dev *add_virtual_intf(struct wiphy *wiphy, const char *name,
-                                     unsigned char name_assign_type,
-                                     enum nl80211_iftype type, u32 *flags,
-                                     struct vif_params *params)
+static struct wireless_dev *add_virtual_intf(struct wiphy *wiphy,
+                                            const char *name,
+                                            unsigned char name_assign_type,
+                                            enum nl80211_iftype type,
+                                            u32 *flags,
+                                            struct vif_params *params)
 {
        perInterface_wlan_t *nic;
        struct wilc_priv *priv;