aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/wb35rx_f.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-10-30 16:14:39 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:51:49 -0800
commit7fff1316b9ecc415fb1d43f438c0668884a24881 (patch)
tree0d0c99dccd1a6d2fec46269b80f959c0a827b984 /drivers/staging/winbond/wb35rx_f.h
parent1e8a2b60339a050f4fd383e332a5dd66b75f4f02 (diff)
Staging: w35und: remove global struct ieee80211_hw
Remove the my_dev global variable from wbusb.c by passing a pointer to struct ieee80211_hw around so that packet_came() gets it. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/wb35rx_f.h')
-rw-r--r--drivers/staging/winbond/wb35rx_f.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/winbond/wb35rx_f.h b/drivers/staging/winbond/wb35rx_f.h
index 9fb2e2aacf6..5585b55cb89 100644
--- a/drivers/staging/winbond/wb35rx_f.h
+++ b/drivers/staging/winbond/wb35rx_f.h
@@ -1,6 +1,7 @@
#ifndef __WINBOND_WB35RX_F_H
#define __WINBOND_WB35RX_F_H
+#include <net/mac80211.h>
#include "wbhal_s.h"
//====================================
@@ -10,11 +11,11 @@ void Wb35Rx_reset_descriptor( phw_data_t pHwData );
unsigned char Wb35Rx_initial( phw_data_t pHwData );
void Wb35Rx_destroy( phw_data_t pHwData );
void Wb35Rx_stop( phw_data_t pHwData );
-u16 Wb35Rx_indicate( phw_data_t pHwData );
+u16 Wb35Rx_indicate(struct ieee80211_hw *hw);
void Wb35Rx_adjust( PDESCRIPTOR pRxDes );
-void Wb35Rx_start( phw_data_t pHwData );
+void Wb35Rx_start(struct ieee80211_hw *hw);
-void Wb35Rx( phw_data_t pHwData );
+void Wb35Rx(struct ieee80211_hw *hw);
void Wb35Rx_Complete(struct urb *urb);
#endif