Commit c1975eda authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

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: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2610c7a8
...@@ -21,12 +21,11 @@ struct _PACKETTOSEND { ...@@ -21,12 +21,11 @@ struct _PACKETTOSEND {
} __packed; } __packed;
typedef struct _PACKETTOSEND PACKETTOSEND, *PPACKETTOSEND; typedef struct _PACKETTOSEND PACKETTOSEND, *PPACKETTOSEND;
struct _CONTROL_PACKET { struct bcm_control_packet {
PVOID ControlBuff; PVOID ControlBuff;
UINT ControlBuffLen; UINT ControlBuffLen;
struct _CONTROL_PACKET *next; struct bcm_control_packet *next;
} __packed; } __packed;
typedef struct _CONTROL_PACKET CONTROL_PACKET, *PCONTROL_PACKET;
struct bcm_link_request { struct bcm_link_request {
LEADER Leader; LEADER Leader;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment