diff options
author | Kevin McKinney | 2012-11-02 04:42:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-11-02 19:36:46 +0100 |
commit | 71dd092f360906bb5ddea88bf842a98e26c22683 (patch) | |
tree | 3dd35491b528f25b1adb0363aefa6677f40b4cbe /drivers/staging/bcm/InterfaceAdapter.h | |
parent | Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. (diff) | |
download | kernel-qcow2-linux-71dd092f360906bb5ddea88bf842a98e26c22683.tar.gz kernel-qcow2-linux-71dd092f360906bb5ddea88bf842a98e26c22683.tar.xz kernel-qcow2-linux-71dd092f360906bb5ddea88bf842a98e26c22683.zip |
Staging: bcm: Remove typedef for _USB_RCB and call directly.
This patch removes typedef for
_USB_RCB, changes the name of the
struct to bcm_usb_rcb. In addition,
any calls to typedefs USB_RCB, or
*PUSB_RCB are changed to call the
struct directly.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/InterfaceAdapter.h')
-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 79139d96a403..1955c924be4b 100644 --- a/drivers/staging/bcm/InterfaceAdapter.h +++ b/drivers/staging/bcm/InterfaceAdapter.h @@ -40,11 +40,11 @@ typedef struct _USB_TCB { bool bUsed; } USB_TCB, *PUSB_TCB; -typedef struct _USB_RCB { +struct bcm_usb_rcb { struct urb *urb; void *psIntfAdapter; bool bUsed; -} USB_RCB, *PUSB_RCB; +}; /* * This is the interface specific Sub-Adapter @@ -64,7 +64,7 @@ struct bcm_interface_adapter { ULONG ulInterruptData[2]; struct urb *psInterruptUrb; USB_TCB asUsbTcb[MAXIMUM_USB_TCB]; - USB_RCB asUsbRcb[MAXIMUM_USB_RCB]; + struct bcm_usb_rcb asUsbRcb[MAXIMUM_USB_RCB]; atomic_t uNumTcbUsed; atomic_t uCurrTcb; atomic_t uNumRcbUsed; |