Staging: bcm: Remove typedef for _S_BCM_DEBUG_STATE and call directly.
This patch removes typedef for _S_BCM_DEBUG_STATE, and changes the name of the struct to bcm_debug_state. In addition, any calls to struct "S_BCM_DEBUG_STATE" are changed to call directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b2a089b773
commit
4b388a9e1d
@ -392,7 +392,7 @@ struct bcm_mini_adapter {
|
|||||||
struct semaphore LowPowerModeSync;
|
struct semaphore LowPowerModeSync;
|
||||||
ULONG liDrainCalculated;
|
ULONG liDrainCalculated;
|
||||||
UINT gpioBitMap;
|
UINT gpioBitMap;
|
||||||
S_BCM_DEBUG_STATE stDebugState;
|
struct bcm_debug_state stDebugState;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GET_BCM_ADAPTER(net_dev) netdev_priv(net_dev)
|
#define GET_BCM_ADAPTER(net_dev) netdev_priv(net_dev)
|
||||||
|
@ -178,7 +178,7 @@ typedef struct {
|
|||||||
} __packed USER_BCM_DBG_STATE;
|
} __packed USER_BCM_DBG_STATE;
|
||||||
|
|
||||||
/* ---Kernel-space mapping of Debug State */
|
/* ---Kernel-space mapping of Debug State */
|
||||||
typedef struct _S_BCM_DEBUG_STATE {
|
struct bcm_debug_state {
|
||||||
unsigned int type;
|
unsigned int type;
|
||||||
/* A bitmap of 32 bits for Subtype per Type.
|
/* A bitmap of 32 bits for Subtype per Type.
|
||||||
* Valid indexes in 'subtype' array are *only* 1,2,4 and 8,
|
* Valid indexes in 'subtype' array are *only* 1,2,4 and 8,
|
||||||
@ -187,7 +187,7 @@ typedef struct _S_BCM_DEBUG_STATE {
|
|||||||
*/
|
*/
|
||||||
unsigned int subtype[(NUMTYPES*2)+1];
|
unsigned int subtype[(NUMTYPES*2)+1];
|
||||||
unsigned int debug_level;
|
unsigned int debug_level;
|
||||||
} S_BCM_DEBUG_STATE;
|
};
|
||||||
/* Instantiated in the Adapter structure
|
/* Instantiated in the Adapter structure
|
||||||
* We'll reuse the debug level parameter to include a bit (the MSB) to indicate whether or not
|
* We'll reuse the debug level parameter to include a bit (the MSB) to indicate whether or not
|
||||||
* we want the function's name printed.
|
* we want the function's name printed.
|
||||||
|
Loading…
Reference in New Issue
Block a user