summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Adapter.h
diff options
context:
space:
mode:
authorKevin McKinney2012-05-26 18:05:10 +0200
committerGreg Kroah-Hartman2012-06-05 06:09:21 +0200
commita869993f8f763b9792990e7ef8e8a644b799d0d3 (patch)
treeb074c8ffdaf8a21f9e1a87cd57f282b4b668944b /drivers/staging/bcm/Adapter.h
parentStaging: bcm: Remove typedef for _CONTROL_PACKET and call directly. (diff)
downloadkernel-qcow2-linux-a869993f8f763b9792990e7ef8e8a644b799d0d3.tar.gz
kernel-qcow2-linux-a869993f8f763b9792990e7ef8e8a644b799d0d3.tar.xz
kernel-qcow2-linux-a869993f8f763b9792990e7ef8e8a644b799d0d3.zip
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/Adapter.h')
-rw-r--r--drivers/staging/bcm/Adapter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index ea83bc03b696..fce61ed2ab06 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -15,11 +15,10 @@ struct _LEADER {
} __packed;
typedef struct _LEADER LEADER, *PLEADER;
-struct _PACKETTOSEND {
+struct bcm_packettosend {
LEADER Leader;
UCHAR ucPayload;
} __packed;
-typedef struct _PACKETTOSEND PACKETTOSEND, *PPACKETTOSEND;
struct bcm_control_packet {
PVOID ControlBuff;