Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8459fd54 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: rename WILC_WFI_WiphyRegister



This patch replaces WILC_WFI_WiphyRegister with wilc_create_wiphy to
avoid CamelCase.

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 96da20a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1883,7 +1883,7 @@ int wilc_netdev_init(void)
		{
			struct wireless_dev *wdev;
			/*Register WiFi*/
			wdev = WILC_WFI_WiphyRegister(ndev);
			wdev = wilc_create_wiphy(ndev);

			#ifdef WILC_SDIO
			/* set netdev, tony */
+2 −2
Original line number Diff line number Diff line
@@ -3519,7 +3519,7 @@ struct wireless_dev *WILC_WFI_CfgAlloc(void)

}
/**
 *  @brief      WILC_WFI_WiphyRegister
 *  @brief      wilc_create_wiphy
 *  @details    Registering of the wiphy structure and interface modes
 *  @param[in]   NONE
 *  @return     NONE
@@ -3527,7 +3527,7 @@ struct wireless_dev *WILC_WFI_CfgAlloc(void)
 *  @date	01 MAR 2012
 *  @version	1.0
 */
struct wireless_dev *WILC_WFI_WiphyRegister(struct net_device *net)
struct wireless_dev *wilc_create_wiphy(struct net_device *net)
{
	struct wilc_priv *priv;
	struct wireless_dev *wdev;
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ static const struct ieee80211_txrx_stypes
#define WILC_WFI_DWELL_ACTIVE  40

struct wireless_dev *WILC_WFI_CfgAlloc(void);
struct wireless_dev *WILC_WFI_WiphyRegister(struct net_device *net);
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_WFI_DeInitHostInt(struct net_device *net);