]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: wilc1000: rename WILC_WFI_init_mon_interface to avoid uppercase in function name
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 2 May 2018 07:13:37 +0000 (12:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:56:35 +0000 (13:56 -0700)
Changes to avoid the use of uppercase for function name.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_mon.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.h

index d5af7365ee9924842f284abdcf9608e984657bfd..1ee9ca370ff85b75a2a14799943233158ee9e854 100644 (file)
@@ -222,7 +222,7 @@ static const struct net_device_ops wilc_wfi_netdev_ops = {
 
 };
 
-struct net_device *WILC_WFI_init_mon_interface(const char *name,
+struct net_device *wilc_wfi_init_mon_interface(const char *name,
                                               struct net_device *real_dev)
 {
        struct wilc_wfi_mon_priv *priv;
index f55e737fa742a1f3e6763e7d28519ae0d082a570..15c0d7d2331928b294271c63afd542bf321bf2e0 100644 (file)
@@ -2065,7 +2065,7 @@ static struct wireless_dev *add_virtual_intf(struct wiphy *wiphy,
        vif = netdev_priv(priv->wdev->netdev);
 
        if (type == NL80211_IFTYPE_MONITOR) {
-               new_ifc = WILC_WFI_init_mon_interface(name, vif->ndev);
+               new_ifc = wilc_wfi_init_mon_interface(name, vif->ndev);
                if (new_ifc) {
                        vif = netdev_priv(priv->wdev->netdev);
                        vif->monitor_flag = 1;
index a0a07b46275c56ec86e667136f4a639d3e365de7..f41ce84218de8f51d37f813b0bc09de22cc028d3 100644 (file)
@@ -9,7 +9,8 @@ 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);
-struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev);
+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,
                              u16 frame_type, bool reg);