summaryrefslogtreecommitdiff
path: root/drivers/staging/ced1401/usb1401.h
diff options
context:
space:
mode:
authorElena Ufimtseva <ufimtseva@gmail.com>2013-05-15 16:57:18 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-15 17:16:22 (GMT)
commite035b590a645c22ed451ca3b8d25c046e7caa6ce (patch)
tree3216ceba9f8bc3d464bf8ff96365d39fade16d09 /drivers/staging/ced1401/usb1401.h
parentd9f8374ba0c05262c9ee8816ee35fc13ece1ad3c (diff)
downloadlinux-fsl-qoriq-e035b590a645c22ed451ca3b8d25c046e7caa6ce.tar.xz
Staging: ced1401: Fixes 'open brace should be on the previous line'.
Fixes checkpatch warnings 'open brace should be on the previous line'. Signed-off-by: Elena Ufimtseva <ufimtseva@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ced1401/usb1401.h')
-rw-r--r--drivers/staging/ced1401/usb1401.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/ced1401/usb1401.h b/drivers/staging/ced1401/usb1401.h
index ce17238..f031e3a 100644
--- a/drivers/staging/ced1401/usb1401.h
+++ b/drivers/staging/ced1401/usb1401.h
@@ -93,16 +93,14 @@
#define CR_CHAR_80 0x8d /* and with bit 7 set */
/* A structure holding information about a block of memory for use in circular transfers */
-typedef struct circBlk
-{
+typedef struct circBlk {
volatile UINT dwOffset; /* Offset within area of block start */
volatile UINT dwSize; /* Size of the block, in bytes (0 = unused) */
} CIRCBLK;
/* A structure holding all of the information about a transfer area - an area of */
/* memory set up for use either as a source or destination in DMA transfers. */
-typedef struct transarea
-{
+typedef struct transarea {
void *lpvBuff; /* User address of xfer area saved for completeness */
UINT dwBaseOffset; /* offset to start of xfer area in first page */
UINT dwLength; /* Length of xfer area, in bytes */
@@ -121,8 +119,7 @@ typedef struct transarea
/* The DMADESC structure is used to hold information on the transfer in progress. It */
/* is set up by ReadDMAInfo, using information sent by the 1401 in an escape sequence. */
-typedef struct dmadesc
-{
+typedef struct dmadesc {
unsigned short wTransType; /* transfer type as TM_xxx above */
unsigned short wIdent; /* identifier word */
unsigned int dwSize; /* bytes to transfer */
@@ -136,8 +133,7 @@ typedef struct dmadesc
/* Structure to hold all of our device specific stuff. We are making this as similar as we */
/* can to the Windows driver to help in our understanding of what is going on. */
-typedef struct _DEVICE_EXTENSION
-{
+typedef struct _DEVICE_EXTENSION {
char inputBuffer[INBUF_SZ]; /* The two buffers */
char outputBuffer[OUTBUF_SZ]; /* accessed by the host functions */
volatile unsigned int dwNumInput; /* num of chars in input buffer */