From c1fa1eb38f15dd9998a7cc2fe4f54eb95d14208c Mon Sep 17 00:00:00 2001 From: Kevin McKinney Date: Thu, 1 Nov 2012 23:42:26 -0400 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/bcm/InterfaceAdapter.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/bcm/InterfaceAdapter.h b/drivers/staging/bcm/InterfaceAdapter.h index a30448049b5c..1ca1a88c1c81 100644 --- a/drivers/staging/bcm/InterfaceAdapter.h +++ b/drivers/staging/bcm/InterfaceAdapter.h @@ -8,15 +8,14 @@ typedef struct _BULK_ENDP_IN { unsigned int bulk_in_pipe; } BULK_ENDP_IN, *PBULK_ENDP_IN; - -typedef struct _BULK_ENDP_OUT { +struct bcm_bulk_endpoint_out { unsigned char bulk_out_buffer; size_t bulk_out_size; unsigned char bulk_out_endpointAddr; unsigned int bulk_out_pipe; /* this is used when int out endpoint is used as bulk out end point */ unsigned char int_out_interval; -} BULK_ENDP_OUT, *PBULK_ENDP_OUT; +}; struct bcm_intr_endpoint_in { char *int_in_buffer; @@ -56,7 +55,7 @@ struct bcm_interface_adapter { /* Bulk endpoint in info */ BULK_ENDP_IN sBulkIn; /* Bulk endpoint out info */ - BULK_ENDP_OUT sBulkOut; + struct bcm_bulk_endpoint_out sBulkOut; /* Interrupt endpoint in info */ struct bcm_intr_endpoint_in sIntrIn; /* Interrupt endpoint out info */ -- 2.39.5