Commit 73d359a0 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: rename WILC_WFI_mon_priv to avoid uppercase for struct name

Cleanup patch to avoid 'struct' name with uppercase letters.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 436d918a
...@@ -149,7 +149,7 @@ static netdev_tx_t WILC_WFI_mon_xmit(struct sk_buff *skb, ...@@ -149,7 +149,7 @@ static netdev_tx_t WILC_WFI_mon_xmit(struct sk_buff *skb,
struct net_device *dev) struct net_device *dev)
{ {
u32 rtap_len, ret = 0; u32 rtap_len, ret = 0;
struct WILC_WFI_mon_priv *mon_priv; struct wilc_wfi_mon_priv *mon_priv;
struct sk_buff *skb2; struct sk_buff *skb2;
struct wilc_wfi_radiotap_cb_hdr *cb_hdr; struct wilc_wfi_radiotap_cb_hdr *cb_hdr;
...@@ -225,13 +225,13 @@ static const struct net_device_ops wilc_wfi_netdev_ops = { ...@@ -225,13 +225,13 @@ 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 net_device *real_dev)
{ {
struct WILC_WFI_mon_priv *priv; struct wilc_wfi_mon_priv *priv;
/*If monitor interface is already initialized, return it*/ /*If monitor interface is already initialized, return it*/
if (wilc_wfi_mon) if (wilc_wfi_mon)
return wilc_wfi_mon; return wilc_wfi_mon;
wilc_wfi_mon = alloc_etherdev(sizeof(struct WILC_WFI_mon_priv)); wilc_wfi_mon = alloc_etherdev(sizeof(struct wilc_wfi_mon_priv));
if (!wilc_wfi_mon) if (!wilc_wfi_mon)
return NULL; return NULL;
wilc_wfi_mon->type = ARPHRD_IEEE80211_RADIOTAP; wilc_wfi_mon->type = ARPHRD_IEEE80211_RADIOTAP;
......
...@@ -196,7 +196,7 @@ struct wilc { ...@@ -196,7 +196,7 @@ struct wilc {
struct rf_info dummy_statistics; struct rf_info dummy_statistics;
}; };
struct WILC_WFI_mon_priv { struct wilc_wfi_mon_priv {
struct net_device *real_ndev; struct net_device *real_ndev;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment