]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename WILC_WFI_InitHostInt
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 20 Sep 2015 06:51:25 +0000 (15:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 02:05:09 +0000 (19:05 -0700)
This patch replaces WILC_WFI_InitHostInt with wilc_init_host_int to
avoid CamelCase.

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

index 6f0a74132e26603db4a9c46eff311d88385ae05e..5b9c48abc228cb0e0b146f435d39151a25e23a5c 100644 (file)
@@ -1425,7 +1425,7 @@ int mac_open(struct net_device *ndev)
        priv = wiphy_priv(nic->wilc_netdev->ieee80211_ptr->wiphy);
        PRINT_D(INIT_DBG, "MAC OPEN[%p]\n", ndev);
 
-       ret = WILC_WFI_InitHostInt(ndev);
+       ret = wilc_init_host_int(ndev);
        if (ret < 0) {
                PRINT_ER("Failed to initialize host interface\n");
 
index 7222359a3839cdd3802abac735989788c0c2704c..7874c9e3a6540bb661ec874ca4b284b7fae5393e 100644 (file)
@@ -3600,7 +3600,7 @@ struct wireless_dev *wilc_create_wiphy(struct net_device *net)
  *  @date      01 MAR 2012
  *  @version   1.0
  */
-int WILC_WFI_InitHostInt(struct net_device *net)
+int wilc_init_host_int(struct net_device *net)
 {
 
        int s32Error = 0;
index 91856732e2d8258b5b78e05173a23b72e1061846..a6145fcaf6d347c771a1cd8967eb4e4dd3312977 100644 (file)
@@ -96,7 +96,7 @@ struct wireless_dev *wilc_create_wiphy(struct net_device *net);
 void wilc_free_wiphy(struct net_device *net);
 int WILC_WFI_update_stats(struct wiphy *wiphy, u32 pktlen, u8 changed);
 int wilc_deinit_host_int(struct net_device *net);
-int WILC_WFI_InitHostInt(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);
 struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev);