Commit 65144de7 authored by Pekka Enberg's avatar Pekka Enberg Committed by Greg Kroah-Hartman

Staging: w35und: wb35reg struct typedef removal

This patch removes the WB35REG struct typedefs and fixes up variable names that
use the type.
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Acked-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f37435ce
This diff is collapsed.
...@@ -85,8 +85,7 @@ struct wb35_reg_queue { ...@@ -85,8 +85,7 @@ struct wb35_reg_queue {
// Internal variable for module // Internal variable for module
//==================================== //====================================
#define MAX_SQ3_FILTER_SIZE 5 #define MAX_SQ3_FILTER_SIZE 5
typedef struct _WB35REG struct wb35_reg {
{
//============================ //============================
// Register Bank backup // Register Bank backup
//============================ //============================
...@@ -161,6 +160,6 @@ typedef struct _WB35REG ...@@ -161,6 +160,6 @@ typedef struct _WB35REG
u32 SQ3_filter[MAX_SQ3_FILTER_SIZE]; u32 SQ3_filter[MAX_SQ3_FILTER_SIZE];
u32 SQ3_index; u32 SQ3_index;
} WB35REG, *PWB35REG; };
This diff is collapsed.
This diff is collapsed.
...@@ -79,7 +79,7 @@ void hal_descriptor_indicate( phw_data_t pHwData, PDESCRIPTOR pDes ); ...@@ -79,7 +79,7 @@ void hal_descriptor_indicate( phw_data_t pHwData, PDESCRIPTOR pDes );
u8 hal_get_antenna_number( phw_data_t pHwData ); u8 hal_get_antenna_number( phw_data_t pHwData );
void hal_set_antenna_number( phw_data_t pHwData, u8 number ); void hal_set_antenna_number( phw_data_t pHwData, u8 number );
u32 hal_get_bss_pk_cnt( phw_data_t pHwData ); u32 hal_get_bss_pk_cnt( phw_data_t pHwData );
#define hal_get_region_from_EEPROM( _A ) ( (_A)->Wb35Reg.EEPROMRegion ) #define hal_get_region_from_EEPROM( _A ) ( (_A)->reg.EEPROMRegion )
void hal_set_accept_promiscuous ( phw_data_t pHwData, u8 enable); void hal_set_accept_promiscuous ( phw_data_t pHwData, u8 enable);
#define hal_get_tx_buffer( _A, _B ) Wb35Tx_get_tx_buffer( _A, _B ) #define hal_get_tx_buffer( _A, _B ) Wb35Tx_get_tx_buffer( _A, _B )
u8 hal_get_hw_radio_off ( phw_data_t pHwData ); u8 hal_get_hw_radio_off ( phw_data_t pHwData );
......
...@@ -506,7 +506,7 @@ typedef struct _HW_DATA_T ...@@ -506,7 +506,7 @@ typedef struct _HW_DATA_T
// Variable for each module // Variable for each module
//======================================================================== //========================================================================
WBUSB WbUsb; // Need WbUsb.h WBUSB WbUsb; // Need WbUsb.h
WB35REG Wb35Reg; // Need Wb35Reg.h struct wb35_reg reg; // Need Wb35Reg.h
WB35TX Wb35Tx; // Need Wb35Tx.h WB35TX Wb35Tx; // Need Wb35Tx.h
WB35RX Wb35Rx; // Need Wb35Rx.h WB35RX Wb35Rx; // Need Wb35Rx.h
......
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