[PATCH 11/15] Staging: winbond: Fix spacing around brackets and pointers.
Mike Sheldon
mike at mikeasoft.com
Wed May 26 23:39:48 UTC 2010
Patches wb35rx_s.h to correct the spacing around brackets and pointers as reported by checkpatch.pl
Signed-off-by: Mike Sheldon <mike at mikeasoft.com>
---
drivers/staging/winbond/wb35rx_s.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/winbond/wb35rx_s.h b/drivers/staging/winbond/wb35rx_s.h
index 4b03274..7230a44 100644
--- a/drivers/staging/winbond/wb35rx_s.h
+++ b/drivers/staging/winbond/wb35rx_s.h
@@ -19,9 +19,9 @@ struct wb35_rx {
u32 ByteReceived;// For calculating throughput of BulkIn
atomic_t RxFireCounter;// Does Wb35Rx module fire?
- u8 RxBuffer[ MAX_USB_RX_BUFFER_NUMBER ][ ((MAX_USB_RX_BUFFER+3) & ~0x03 ) ];
- u16 RxBufferSize[ ((MAX_USB_RX_BUFFER_NUMBER+1) & ~0x01) ];
- u8 RxOwner[ ((MAX_USB_RX_BUFFER_NUMBER+3) & ~0x03 ) ];//Ownership of buffer 0: SW 1:HW
+ u8 RxBuffer[MAX_USB_RX_BUFFER_NUMBER][((MAX_USB_RX_BUFFER+3) & ~0x03)];
+ u16 RxBufferSize[((MAX_USB_RX_BUFFER_NUMBER+1) & ~0x01)];
+ u8 RxOwner[((MAX_USB_RX_BUFFER_NUMBER+3) & ~0x03)];//Ownership of buffer 0: SW 1:HW
u32 RxProcessIndex;//The next index to process
u32 RxBufferId;
@@ -36,9 +36,9 @@ struct wb35_rx {
u32 Rx3UrbCancel;
u32 LastR1; // For RSSI reporting
- struct urb * RxUrb;
+ struct urb *RxUrb;
u32 Ep3ErrorCount2; // 20060625.1 Usbd for Rx DMA error count
int EP3VM_status;
- u8 * pDRx;
+ u8 *pDRx;
};
--
1.7.0.4
More information about the devel
mailing list