]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Staging: bcm: Remove typedef for _CONTROL_PACKET and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 26 May 2012 16:05:09 +0000 (12:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:09:21 +0000 (21:09 -0700)
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>
drivers/staging/bcm/Adapter.h

index a36767d9c551ba352a7f282f3c91baf03585adb3..ea83bc03b696ca44586dce9b82327c96d41db875 100644 (file)
@@ -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;