summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Macros.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-05-26 20:05:11 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-05 08:09:22 +0400
commitff352042ebb8f3823fb3725bc2356f6a60ce20df (patch)
tree22cc71aab5586e5af6afcaf0ab34c3ffd9fc1269 /drivers/staging/bcm/Macros.h
parenta869993f8f763b9792990e7ef8e8a644b799d0d3 (diff)
downloadlinux-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/Macros.h')
-rw-r--r--drivers/staging/bcm/Macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/Macros.h b/drivers/staging/bcm/Macros.h
index 7c03cce5eede..b5ca6f6a1cb2 100644
--- a/drivers/staging/bcm/Macros.h
+++ b/drivers/staging/bcm/Macros.h
@@ -108,7 +108,7 @@
/*Leader related terms */
#define LEADER_STATUS 0x00
#define LEADER_STATUS_TCP_ACK 0x1
-#define LEADER_SIZE sizeof(LEADER)
+#define LEADER_SIZE sizeof(struct bcm_leader)
#define MAC_ADDR_REQ_SIZE sizeof(struct bcm_packettosend)
#define SS_INFO_REQ_SIZE sizeof(struct bcm_packettosend)
#define CM_REQUEST_SIZE (LEADER_SIZE + sizeof(stLocalSFChangeRequest))