mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-03-01 00:47:57 +00:00
Staging: bcm: Remove typedef for _BULK_ENDP_OUT and call directly.
This patch removes typedef for _BULK_ENDP_OUT, changes the name of the struct to bcm_bulk_endpoint_out. In addition, any calls to typedefs BULK_ENDP_OUT, or *PBULK_ENDP_OUT are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
89a02bfe0f
commit
c1fa1eb38f
@ -8,15 +8,14 @@ typedef struct _BULK_ENDP_IN {
|
|||||||
unsigned int bulk_in_pipe;
|
unsigned int bulk_in_pipe;
|
||||||
} BULK_ENDP_IN, *PBULK_ENDP_IN;
|
} BULK_ENDP_IN, *PBULK_ENDP_IN;
|
||||||
|
|
||||||
|
struct bcm_bulk_endpoint_out {
|
||||||
typedef struct _BULK_ENDP_OUT {
|
|
||||||
unsigned char bulk_out_buffer;
|
unsigned char bulk_out_buffer;
|
||||||
size_t bulk_out_size;
|
size_t bulk_out_size;
|
||||||
unsigned char bulk_out_endpointAddr;
|
unsigned char bulk_out_endpointAddr;
|
||||||
unsigned int bulk_out_pipe;
|
unsigned int bulk_out_pipe;
|
||||||
/* this is used when int out endpoint is used as bulk out end point */
|
/* this is used when int out endpoint is used as bulk out end point */
|
||||||
unsigned char int_out_interval;
|
unsigned char int_out_interval;
|
||||||
} BULK_ENDP_OUT, *PBULK_ENDP_OUT;
|
};
|
||||||
|
|
||||||
struct bcm_intr_endpoint_in {
|
struct bcm_intr_endpoint_in {
|
||||||
char *int_in_buffer;
|
char *int_in_buffer;
|
||||||
@ -56,7 +55,7 @@ struct bcm_interface_adapter {
|
|||||||
/* Bulk endpoint in info */
|
/* Bulk endpoint in info */
|
||||||
BULK_ENDP_IN sBulkIn;
|
BULK_ENDP_IN sBulkIn;
|
||||||
/* Bulk endpoint out info */
|
/* Bulk endpoint out info */
|
||||||
BULK_ENDP_OUT sBulkOut;
|
struct bcm_bulk_endpoint_out sBulkOut;
|
||||||
/* Interrupt endpoint in info */
|
/* Interrupt endpoint in info */
|
||||||
struct bcm_intr_endpoint_in sIntrIn;
|
struct bcm_intr_endpoint_in sIntrIn;
|
||||||
/* Interrupt endpoint out info */
|
/* Interrupt endpoint out info */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user