Commit 8810493f authored by Deepak Mishra's avatar Deepak Mishra Committed by Greg Kroah-Hartman

staging: rtl8712: Fixed CamelCase wkFilterRxFF0 renamed to wk_filter_rx_ff0

In process of cleaning up struct _adapter in drv_types.h, wkFilterRxFF0
     is renamed to to wk_filter_rx_ff0 to fix a checkpatch reported issue.
Signed-off-by: default avatarDeepak Mishra <linux.dkm@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6cc6677a
...@@ -158,7 +158,7 @@ struct _adapter { ...@@ -158,7 +158,7 @@ struct _adapter {
struct net_device_stats stats; struct net_device_stats stats;
struct iw_statistics iwstats; struct iw_statistics iwstats;
int pid; /*process id from UI*/ int pid; /*process id from UI*/
struct work_struct wkFilterRxFF0; struct work_struct wk_filter_rx_ff0;
u8 blnEnableRxFF0Filter; u8 blnEnableRxFF0Filter;
spinlock_t lock_rx_ff0_filter; spinlock_t lock_rx_ff0_filter;
const struct firmware *fw; const struct firmware *fw;
......
...@@ -139,7 +139,7 @@ sint _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv, ...@@ -139,7 +139,7 @@ sint _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv,
pxmitbuf++; pxmitbuf++;
} }
pxmitpriv->free_xmitbuf_cnt = NR_XMITBUFF; pxmitpriv->free_xmitbuf_cnt = NR_XMITBUFF;
INIT_WORK(&padapter->wkFilterRxFF0, r8712_SetFilter); INIT_WORK(&padapter->wk_filter_rx_ff0, r8712_SetFilter);
alloc_hwxmits(padapter); alloc_hwxmits(padapter);
init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry);
tasklet_init(&pxmitpriv->xmit_tasklet, tasklet_init(&pxmitpriv->xmit_tasklet,
......
...@@ -94,7 +94,7 @@ void r8712_set_qos(struct pkt_file *ppktfile, struct pkt_attrib *pattrib) ...@@ -94,7 +94,7 @@ void r8712_set_qos(struct pkt_file *ppktfile, struct pkt_attrib *pattrib)
void r8712_SetFilter(struct work_struct *work) void r8712_SetFilter(struct work_struct *work)
{ {
struct _adapter *adapter = container_of(work, struct _adapter, struct _adapter *adapter = container_of(work, struct _adapter,
wkFilterRxFF0); wk_filter_rx_ff0);
u8 oldvalue = 0x00, newvalue = 0x00; u8 oldvalue = 0x00, newvalue = 0x00;
unsigned long irqL; unsigned long irqL;
......
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