From: Chaehyun Lim Date: Tue, 22 Sep 2015 09:34:52 +0000 (+0900) Subject: staging: wilc1000: make add_virtual_intf static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=37316e81677fe2765d7711f856898863ec7a73b5;p=linux-beck.git staging: wilc1000: make add_virtual_intf static This patch makes add_virtual_intf static. This function is used only at wilc_wfi_cfgoperation.c file. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 0becefb8812e..7d26ccd20390 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -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;