diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-11-02 03:42:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-02 18:36:46 (GMT) |
commit | de89ec45569e96193f5e1264b87cc7aaed060dfa (patch) | |
tree | dcec4e7fff5aa65ec7b7dde17c5d3a6e2cb34642 | |
parent | e8355aa36c1ad3a63860fe30a74d2befc1148b5b (diff) | |
download | linux-fsl-qoriq-de89ec45569e96193f5e1264b87cc7aaed060dfa.tar.xz |
Staging: bcm: Remove typedef for _INTR_ENDP_OUT and call directly.
This patch removes typedef for
_INTR_ENDP_OUT, changes the name of the
struct to bcm_intr_endpoint_out. In addition,
any calls to typedefs INTR_ENDP_OUT, or
*PINTR_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>
-rw-r--r-- | drivers/staging/bcm/InterfaceAdapter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/InterfaceAdapter.h b/drivers/staging/bcm/InterfaceAdapter.h index de7d7c2..846bca0 100644 --- a/drivers/staging/bcm/InterfaceAdapter.h +++ b/drivers/staging/bcm/InterfaceAdapter.h @@ -26,13 +26,13 @@ typedef struct _INTR_ENDP_IN { unsigned int int_in_pipe; } INTR_ENDP_IN, *PINTR_ENDP_IN; -typedef struct _INTR_ENDP_OUT { +struct bcm_intr_endpoint_out { char *int_out_buffer; size_t int_out_size; unsigned char int_out_endpointAddr; unsigned char int_out_interval; unsigned int int_out_pipe; -} INTR_ENDP_OUT, *PINTR_ENDP_OUT; +}; struct bcm_usb_tcb { struct urb *urb; @@ -60,7 +60,7 @@ struct bcm_interface_adapter { /* Interrupt endpoint in info */ INTR_ENDP_IN sIntrIn; /* Interrupt endpoint out info */ - INTR_ENDP_OUT sIntrOut; + struct bcm_intr_endpoint_out sIntrOut; ULONG ulInterruptData[2]; struct urb *psInterruptUrb; struct bcm_usb_tcb asUsbTcb[MAXIMUM_USB_TCB]; |