summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Adapter.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-05-26 16:05:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-05 04:09:22 (GMT)
commitff352042ebb8f3823fb3725bc2356f6a60ce20df (patch)
tree22cc71aab5586e5af6afcaf0ab34c3ffd9fc1269 /drivers/staging/bcm/Adapter.h
parenta869993f8f763b9792990e7ef8e8a644b799d0d3 (diff)
downloadlinux-fsl-qoriq-ff352042ebb8f3823fb3725bc2356f6a60ce20df.tar.xz
Staging: bcm: Remove typedef for _LEADER and call directly.
This patch removes typedef for _LEADER, changes the name of the struct from _LEADER to bcm_leader. In addition, any calls to the following typedefs "LEADER, *PLEADER" are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/Adapter.h')
-rw-r--r--drivers/staging/bcm/Adapter.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index fce61ed..f269daa 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -7,16 +7,15 @@
#define MAX_FRAGMENTEDIP_CLASSIFICATION_ENTRIES 256
#include "Debug.h"
-struct _LEADER {
+struct bcm_leader {
USHORT Vcid;
USHORT PLength;
UCHAR Status;
UCHAR Unused[3];
} __packed;
-typedef struct _LEADER LEADER, *PLEADER;
struct bcm_packettosend {
- LEADER Leader;
+ struct bcm_leader Leader;
UCHAR ucPayload;
} __packed;
@@ -27,7 +26,7 @@ struct bcm_control_packet {
} __packed;
struct bcm_link_request {
- LEADER Leader;
+ struct bcm_leader Leader;
UCHAR szData[4];
} __packed;