staging: wilc1000: make del_virtual_intf static
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Sep 2015 09:34:49 +0000 (18:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:29:50 +0000 (02:29 +0200)
This patch makes del_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 40fd3ca31663071c511cbfcfbe8b5661c4c892f1..da04e500a536d6d550a26efa3db57140bd7767b2 100644 (file)
@@ -3362,7 +3362,7 @@ struct wireless_dev *add_virtual_intf(struct wiphy *wiphy, const char *name,
  *  @date      01 JUL 2012
  *  @version   1.0
  */
-int del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
+static int del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
 {
        PRINT_D(HOSTAPD_DBG, "Deleting virtual interface\n");
        return 0;