mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
staging: ced1401: remove typedef for CIRCBLK
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9db5b4e98c
commit
1795f89542
1 changed files with 7 additions and 6 deletions
|
@ -92,11 +92,12 @@
|
||||||
#define CR_CHAR 0x0D /* The carriage return character */
|
#define CR_CHAR 0x0D /* The carriage return character */
|
||||||
#define CR_CHAR_80 0x8d /* and with bit 7 set */
|
#define CR_CHAR_80 0x8d /* and with bit 7 set */
|
||||||
|
|
||||||
/* A structure holding information about a block of memory for use in circular transfers */
|
/* A structure holding information about a block */
|
||||||
typedef struct circBlk {
|
/* of memory for use in circular transfers */
|
||||||
volatile UINT dwOffset; /* Offset within area of block start */
|
struct circ_blk {
|
||||||
volatile UINT dwSize; /* Size of the block, in bytes (0 = unused) */
|
volatile UINT dwOffset; /* Offset within area of block start */
|
||||||
} CIRCBLK;
|
volatile UINT dwSize; /* Size of the block, in bytes (0 = unused) */
|
||||||
|
};
|
||||||
|
|
||||||
/* A structure holding all of the information about a transfer area - an area of */
|
/* 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. */
|
/* memory set up for use either as a source or destination in DMA transfers. */
|
||||||
|
@ -113,7 +114,7 @@ typedef struct transarea {
|
||||||
int iWakeUp; /* Set 1 on event, cleared by TestEvent() */
|
int iWakeUp; /* Set 1 on event, cleared by TestEvent() */
|
||||||
UINT dwEventSt; /* Defines section within xfer area for... */
|
UINT dwEventSt; /* Defines section within xfer area for... */
|
||||||
UINT dwEventSz; /* ...notification by the event SZ is 0 if unset */
|
UINT dwEventSz; /* ...notification by the event SZ is 0 if unset */
|
||||||
CIRCBLK aBlocks[2]; /* Info on a pair of circular blocks */
|
struct circ_blk aBlocks[2]; /* Info on a pair of circular blocks */
|
||||||
wait_queue_head_t wqEvent; /* The wait queue for events in this area MUST BE LAST */
|
wait_queue_head_t wqEvent; /* The wait queue for events in this area MUST BE LAST */
|
||||||
} TRANSAREA;
|
} TRANSAREA;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue