Staging: bcm: Remove typedef for _S_BCM_DEBUG_STATE and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 5 Jan 2013 04:35:08 +0000 (23:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:57:51 +0000 (10:57 -0800)
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>
drivers/staging/bcm/Adapter.h
drivers/staging/bcm/Debug.h

index ade7bfd9cde3cb4ffc7d6832cda4f8bda26fb90d..1d8bf08b5bfd4e946a892ddc358dfd18387e2aab 100644 (file)
@@ -392,7 +392,7 @@ struct bcm_mini_adapter {
        struct semaphore        LowPowerModeSync;
        ULONG                   liDrainCalculated;
        UINT                    gpioBitMap;
-       S_BCM_DEBUG_STATE       stDebugState;
+       struct bcm_debug_state  stDebugState;
 };
 
 #define GET_BCM_ADAPTER(net_dev) netdev_priv(net_dev)
index 663325bc5ad783cea06637b884401c84456fdf3d..e81db0d0f7a3e9041cc7c7d71bc05bf5b9236c68 100644 (file)
@@ -178,7 +178,7 @@ typedef struct {
 } __packed USER_BCM_DBG_STATE;
 
 /* ---Kernel-space mapping of Debug State */
-typedef struct _S_BCM_DEBUG_STATE {
+struct bcm_debug_state {
        unsigned int type;
        /* A bitmap of 32 bits for Subtype per Type.
         * 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 debug_level;
-} S_BCM_DEBUG_STATE;
+};
 /* Instantiated in the Adapter structure
  * 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.