From: Ajay Singh Date: Wed, 2 May 2018 07:13:38 +0000 (+0530) Subject: staging: wilc1000: rename WILC_WFI_deinit_mon_interface to avoid uppercase for functi... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=30324405baa119767ae0487439f9858fa37fb36b;p=openwrt%2Fstaging%2Fblogic.git staging: wilc1000: rename WILC_WFI_deinit_mon_interface to avoid uppercase for function name Changes to avoid the use of uppercase for function name. Signed-off-by: Ajay Singh Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 1ee9ca370ff8..a08ee9c37743 100644 --- a/drivers/staging/wilc1000/linux_mon.c +++ b/drivers/staging/wilc1000/linux_mon.c @@ -252,7 +252,7 @@ struct net_device *wilc_wfi_init_mon_interface(const char *name, return wilc_wfi_mon; } -int WILC_WFI_deinit_mon_interface(void) +int wilc_wfi_deinit_mon_interface(void) { bool rollback_lock = false; diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index f66704d7aaa8..4208548bb5df 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -1012,7 +1012,7 @@ static int wilc_mac_close(struct net_device *ndev) netdev_dbg(ndev, "Deinitializing wilc1000\n"); wl->close = 1; wilc_wlan_deinitialize(ndev); - WILC_WFI_deinit_mon_interface(); + wilc_wfi_deinit_mon_interface(); } vif->mac_opened = 0; diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h index f41ce84218de..c1a242130543 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h @@ -8,7 +8,7 @@ void wilc_free_wiphy(struct net_device *net); int wilc_deinit_host_int(struct net_device *net); int wilc_init_host_int(struct net_device *net); void wilc_wfi_monitor_rx(u8 *buff, u32 size); -int WILC_WFI_deinit_mon_interface(void); +int wilc_wfi_deinit_mon_interface(void); struct net_device *wilc_wfi_init_mon_interface(const char *name, struct net_device *real_dev); void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev,