summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Macros.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-05-26 16:05:10 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-05 04:09:21 (GMT)
commita869993f8f763b9792990e7ef8e8a644b799d0d3 (patch)
treeb074c8ffdaf8a21f9e1a87cd57f282b4b668944b /drivers/staging/bcm/Macros.h
parentc1975eda98d12c7b34cdc94c53cda32de263e4af (diff)
downloadlinux-fsl-qoriq-a869993f8f763b9792990e7ef8e8a644b799d0d3.tar.xz
Staging: bcm: Remove typedef for _PACKETTOSEND and call directly.
This patch removes typedef for _PACKETTOSEND, changes the name of the struct from _PACKETTOSEND to bcm_packettosend. In addition, any calls to the following typedefs "PACKETTOSEND, *PPACKETTOSEND" 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Macros.h b/drivers/staging/bcm/Macros.h
index 8238cdb..7c03cce 100644
--- a/drivers/staging/bcm/Macros.h
+++ b/drivers/staging/bcm/Macros.h
@@ -109,10 +109,10 @@
#define LEADER_STATUS 0x00
#define LEADER_STATUS_TCP_ACK 0x1
#define LEADER_SIZE sizeof(LEADER)
-#define MAC_ADDR_REQ_SIZE sizeof(PACKETTOSEND)
-#define SS_INFO_REQ_SIZE sizeof(PACKETTOSEND)
+#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))
-#define IDLE_REQ_SIZE sizeof(PACKETTOSEND)
+#define IDLE_REQ_SIZE sizeof(struct bcm_packettosend)
#define MAX_TRANSFER_CTRL_BYTE_USB (2*1024)