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

Staging: bcm: Remove typedef for _BULK_ENDP_IN and call directly.

This patch removes typedef for
_BULK_ENDP_IN, changes the name of the
struct to bcm_bulk_endpoint_in. In addition,
any calls to typedefs BULK_ENDP_IN, or
*PBULK_ENDP_IN 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 c1fa1eb3
#ifndef _INTERFACE_ADAPTER_H #ifndef _INTERFACE_ADAPTER_H
#define _INTERFACE_ADAPTER_H #define _INTERFACE_ADAPTER_H
typedef struct _BULK_ENDP_IN { struct bcm_bulk_endpoint_in {
char *bulk_in_buffer; char *bulk_in_buffer;
size_t bulk_in_size; size_t bulk_in_size;
unsigned char bulk_in_endpointAddr; unsigned char bulk_in_endpointAddr;
unsigned int bulk_in_pipe; unsigned int bulk_in_pipe;
} BULK_ENDP_IN, *PBULK_ENDP_IN; };
struct bcm_bulk_endpoint_out { struct bcm_bulk_endpoint_out {
unsigned char bulk_out_buffer; unsigned char bulk_out_buffer;
...@@ -53,7 +53,7 @@ struct bcm_interface_adapter { ...@@ -53,7 +53,7 @@ struct bcm_interface_adapter {
struct usb_device *udev; struct usb_device *udev;
struct usb_interface *interface; struct usb_interface *interface;
/* Bulk endpoint in info */ /* Bulk endpoint in info */
BULK_ENDP_IN sBulkIn; struct bcm_bulk_endpoint_in sBulkIn;
/* Bulk endpoint out info */ /* Bulk endpoint out info */
struct bcm_bulk_endpoint_out sBulkOut; struct bcm_bulk_endpoint_out sBulkOut;
/* Interrupt endpoint in info */ /* Interrupt endpoint in info */
......
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