summaryrefslogtreecommitdiff
path: root/drivers/staging/ced1401/usb1401.h
diff options
context:
space:
mode:
authorLuca Ellero <luca.ellero@brickedbrain.com>2014-07-10 13:01:46 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 02:08:32 +0400
commit70bc3dbedb0e4d67b7d3842187958595140b56f5 (patch)
tree071fb424215e2968f8b5e02312f30ef155e74d44 /drivers/staging/ced1401/usb1401.h
parent82a5e7f98f9a1e05d12b47b15c3f550564b877ae (diff)
downloadlinux-70bc3dbedb0e4d67b7d3842187958595140b56f5.tar.xz
staging: ced1401: remove typedef for DMADESC
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ced1401/usb1401.h b/drivers/staging/ced1401/usb1401.h
index 689251dc0959..d269d83c3fc3 100644
--- a/drivers/staging/ced1401/usb1401.h
+++ b/drivers/staging/ced1401/usb1401.h
@@ -120,13 +120,13 @@ 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 {
+struct dmadesc {
unsigned short wTransType; /* transfer type as TM_xxx above */
unsigned short wIdent; /* identifier word */
unsigned int dwSize; /* bytes to transfer */
unsigned int dwOffset; /* offset into transfer area for trans */
bool bOutWard; /* true when data is going TO 1401 */
-} DMADESC;
+};
#define INBUF_SZ 256 /* input buffer size */
#define OUTBUF_SZ 256 /* output buffer size */
@@ -157,7 +157,7 @@ typedef struct _DEVICE_EXTENSION {
volatile unsigned int dwDMAFlag; /* state of DMA */
struct transarea rTransDef[MAX_TRANSAREAS]; /* transfer area info */
- volatile DMADESC rDMAInfo; /* info on current DMA transfer */
+ volatile struct dmadesc rDMAInfo; /* info on current DMA transfer */
volatile bool bXFerWaiting; /* Flag set if DMA transfer stalled */
volatile bool bInDrawDown; /* Flag that we want to halt transfers */