summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Adapter.h
diff options
context:
space:
mode:
authorKevin McKinney2012-05-26 18:05:09 +0200
committerGreg Kroah-Hartman2012-06-05 06:09:21 +0200
commitc1975eda98d12c7b34cdc94c53cda32de263e4af (patch)
tree6d6ad192c267aeaae4a9e71e377082da532366f7 /drivers/staging/bcm/Adapter.h
parentStaging: bcm: Remove typedef for link_request and call directly. (diff)
downloadkernel-qcow2-linux-c1975eda98d12c7b34cdc94c53cda32de263e4af.tar.gz
kernel-qcow2-linux-c1975eda98d12c7b34cdc94c53cda32de263e4af.tar.xz
kernel-qcow2-linux-c1975eda98d12c7b34cdc94c53cda32de263e4af.zip
Staging: bcm: Remove typedef for _CONTROL_PACKET and call directly.
This patch removes typedef for _CONTROL_PACKET, changes the name of the struct from _CONTROL_PACKET to bcm_control_packet. In addition, any calls to the following typedefs "CONTROL_PACKET, *PCONTROL_PACKET" 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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index a36767d9c551..ea83bc03b696 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -21,12 +21,11 @@ struct _PACKETTOSEND {
} __packed;
typedef struct _PACKETTOSEND PACKETTOSEND, *PPACKETTOSEND;
-struct _CONTROL_PACKET {
+struct bcm_control_packet {
PVOID ControlBuff;
UINT ControlBuffLen;
- struct _CONTROL_PACKET *next;
+ struct bcm_control_packet *next;
} __packed;
-typedef struct _CONTROL_PACKET CONTROL_PACKET, *PCONTROL_PACKET;
struct bcm_link_request {
LEADER Leader;