summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723au/os_dep/os_intfs.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-05-16 08:04:55 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-16 18:34:33 (GMT)
commit633dd914ca2b94e91e453d033724d805d286394a (patch)
tree96a3f4d685b73ae229c74c55a0f2050100e026e1 /drivers/staging/rtl8723au/os_dep/os_intfs.c
parente6ac6eb2aef4a78f21e433d5ce657334d0f77ec5 (diff)
downloadlinux-633dd914ca2b94e91e453d033724d805d286394a.tar.xz
staging: rtl8723au: Move last utility function from osdep_service.c to os_intfs.c
No point carrying a dedicated file just for this small helper, so move it to os_intfs.c and get rid of osdep_service.c Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/os_dep/os_intfs.c')
-rw-r--r--drivers/staging/rtl8723au/os_dep/os_intfs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/rtl8723au/os_dep/os_intfs.c b/drivers/staging/rtl8723au/os_dep/os_intfs.c
index f8cc876..5900283 100644
--- a/drivers/staging/rtl8723au/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723au/os_dep/os_intfs.c
@@ -884,3 +884,9 @@ void rtw_ndev_destructor(struct net_device *ndev)
kfree(ndev->ieee80211_ptr);
free_netdev(ndev);
}
+
+void _rtw_init_queue23a(struct rtw_queue *pqueue)
+{
+ INIT_LIST_HEAD(&pqueue->queue);
+ spin_lock_init(&pqueue->lock);
+}