diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-10-30 17:14:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 00:51:48 +0300 |
commit | 42c84bb4603d5a375b1c8dbbbef686d24e804807 (patch) | |
tree | e8ab2136a2e5a8f934108531edee0c088b02b8ac /drivers/staging/winbond/wb35tx_f.h | |
parent | cc18071068f518c3c01616d7900de3b77252ccdf (diff) | |
download | linux-42c84bb4603d5a375b1c8dbbbef686d24e804807.tar.xz |
Staging: w35und: remove ->adapter from struct _HW_DATA_T
Eventually we want to pass a pointer to struct ieee80211_hw around in the
driver, so remove the bidirectional link between struct wb35_adapter and struct
_HW_DATA_T to simplify the code.
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/wb35tx_f.h')
-rw-r--r-- | drivers/staging/winbond/wb35tx_f.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/staging/winbond/wb35tx_f.h b/drivers/staging/winbond/wb35tx_f.h index 6aca4e99b91d..466eb6f26c60 100644 --- a/drivers/staging/winbond/wb35tx_f.h +++ b/drivers/staging/winbond/wb35tx_f.h @@ -1,6 +1,7 @@ #ifndef __WINBOND_WB35TX_F_H #define __WINBOND_WB35TX_F_H +#include "adapter.h" #include "wbhal_f.h" //==================================== @@ -10,16 +11,16 @@ unsigned char Wb35Tx_initial( phw_data_t pHwData ); void Wb35Tx_destroy( phw_data_t pHwData ); unsigned char Wb35Tx_get_tx_buffer( phw_data_t pHwData, u8 **pBuffer ); -void Wb35Tx_EP2VM( phw_data_t pHwData ); -void Wb35Tx_EP2VM_start( phw_data_t pHwData ); +void Wb35Tx_EP2VM(struct wb35_adapter *adapter); +void Wb35Tx_EP2VM_start(struct wb35_adapter *adapter); void Wb35Tx_EP2VM_complete(struct urb *urb); -void Wb35Tx_start( phw_data_t pHwData ); +void Wb35Tx_start(struct wb35_adapter *adapter); void Wb35Tx_stop( phw_data_t pHwData ); -void Wb35Tx( phw_data_t pHwData ); +void Wb35Tx(struct wb35_adapter *adapter); void Wb35Tx_complete(struct urb *urb); void Wb35Tx_reset_descriptor( phw_data_t pHwData ); -void Wb35Tx_CurrentTime( phw_data_t pHwData, u32 TimeCount ); +void Wb35Tx_CurrentTime(struct wb35_adapter *adapter, u32 TimeCount); #endif |