Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337627
b: refs/heads/master
c: 5e1db5a
h: refs/heads/master
i:
  337625: 0386e34
  337623: faadb99
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Nov 2, 2012
1 parent 7c42098 commit 1778d0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0d634d31ae5922a4cba58ae11c1455bc6ca798a
refs/heads/master: 5e1db5adb42746dca94cb26774091474d934f301
21 changes: 7 additions & 14 deletions trunk/drivers/staging/bcm/InterfaceAdapter.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
#ifndef _INTERFACE_ADAPTER_H
#define _INTERFACE_ADAPTER_H

typedef struct _BULK_ENDP_IN
{
typedef struct _BULK_ENDP_IN {
PCHAR bulk_in_buffer;
size_t bulk_in_size;
UCHAR bulk_in_endpointAddr;
UINT bulk_in_pipe;
} BULK_ENDP_IN, *PBULK_ENDP_IN;


typedef struct _BULK_ENDP_OUT
{
typedef struct _BULK_ENDP_OUT {
UCHAR bulk_out_buffer;
size_t bulk_out_size;
UCHAR bulk_out_endpointAddr;
Expand All @@ -20,33 +18,29 @@ typedef struct _BULK_ENDP_OUT
UCHAR int_out_interval;
} BULK_ENDP_OUT, *PBULK_ENDP_OUT;

typedef struct _INTR_ENDP_IN
{
typedef struct _INTR_ENDP_IN {
PCHAR int_in_buffer;
size_t int_in_size;
UCHAR int_in_endpointAddr;
UCHAR int_in_interval;
UINT int_in_pipe;
} INTR_ENDP_IN, *PINTR_ENDP_IN;

typedef struct _INTR_ENDP_OUT
{
typedef struct _INTR_ENDP_OUT {
PCHAR int_out_buffer;
size_t int_out_size;
UCHAR int_out_endpointAddr;
UCHAR int_out_interval;
UINT int_out_pipe;
} INTR_ENDP_OUT, *PINTR_ENDP_OUT;

typedef struct _USB_TCB
{
typedef struct _USB_TCB {
struct urb *urb;
PVOID psIntfAdapter;
BOOLEAN bUsed;
} USB_TCB, *PUSB_TCB;

typedef struct _USB_RCB
{
typedef struct _USB_RCB {
struct urb *urb;
PVOID psIntfAdapter;
BOOLEAN bUsed;
Expand All @@ -56,8 +50,7 @@ typedef struct _USB_RCB
* This is the interface specific Sub-Adapter
* Structure.
*/
typedef struct _S_INTERFACE_ADAPTER
{
typedef struct _S_INTERFACE_ADAPTER {
struct usb_device *udev;
struct usb_interface *interface;
/* Bulk endpoint in info */
Expand Down

0 comments on commit 1778d0f

Please sign in to comment.