Staging: bcm: Remove typedef for _INTR_ENDP_IN and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Fri, 2 Nov 2012 03:42:25 +0000 (23:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Nov 2012 18:36:47 +0000 (11:36 -0700)
This patch removes typedef for
_INTR_ENDP_IN, changes the name of the
struct to bcm_intr_endpoint_in. In addition,
any calls to typedefs INTR_ENDP_IN, or
*PINTR_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>
drivers/staging/bcm/InterfaceAdapter.h

index 846bca0bf2da8049ba2a511aa4f6dea88a06cbd0..a30448049b5ceb7cad0f7f60bbd3b6fe06c3107d 100644 (file)
@@ -18,13 +18,13 @@ typedef struct _BULK_ENDP_OUT {
        unsigned char   int_out_interval;
 } BULK_ENDP_OUT, *PBULK_ENDP_OUT;
 
-typedef struct _INTR_ENDP_IN {
+struct bcm_intr_endpoint_in {
        char    *int_in_buffer;
        size_t  int_in_size;
        unsigned char   int_in_endpointAddr;
        unsigned char   int_in_interval;
        unsigned int    int_in_pipe;
-} INTR_ENDP_IN, *PINTR_ENDP_IN;
+};
 
 struct bcm_intr_endpoint_out {
        char    *int_out_buffer;
@@ -58,7 +58,7 @@ struct bcm_interface_adapter {
        /* Bulk endpoint out info */
        BULK_ENDP_OUT   sBulkOut;
        /* Interrupt endpoint in info */
-       INTR_ENDP_IN    sIntrIn;
+       struct bcm_intr_endpoint_in     sIntrIn;
        /* Interrupt endpoint out info */
        struct bcm_intr_endpoint_out    sIntrOut;
        ULONG           ulInterruptData[2];