Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Kevin McKinney and committed by
Greg Kroah-Hartman
85b331af c1fa1eb3

+3 -3
+3 -3
drivers/staging/bcm/InterfaceAdapter.h
··· 1 1 #ifndef _INTERFACE_ADAPTER_H 2 2 #define _INTERFACE_ADAPTER_H 3 3 4 - typedef struct _BULK_ENDP_IN { 4 + struct bcm_bulk_endpoint_in { 5 5 char *bulk_in_buffer; 6 6 size_t bulk_in_size; 7 7 unsigned char bulk_in_endpointAddr; 8 8 unsigned int bulk_in_pipe; 9 - } BULK_ENDP_IN, *PBULK_ENDP_IN; 9 + }; 10 10 11 11 struct bcm_bulk_endpoint_out { 12 12 unsigned char bulk_out_buffer; ··· 53 53 struct usb_device *udev; 54 54 struct usb_interface *interface; 55 55 /* Bulk endpoint in info */ 56 - BULK_ENDP_IN sBulkIn; 56 + struct bcm_bulk_endpoint_in sBulkIn; 57 57 /* Bulk endpoint out info */ 58 58 struct bcm_bulk_endpoint_out sBulkOut; 59 59 /* Interrupt endpoint in info */