Staging: ced1401: Fix do not add new typedefs
authorMonam Agarwal <monamagarwal123@gmail.com>
Sun, 2 Mar 2014 15:30:46 +0000 (21:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 21:39:56 +0000 (13:39 -0800)
This patch fixes the following checkpatch.pl issues in ced_ioctl.h
WARNING: do not add new typedefs

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/ced_ioctl.h

index aa68878bd2510715054c7b3e44ff4b71992b6c22..50768ffec55d40fe52c2e629f71036919903fd6b 100644 (file)
 ** TypeDefs
 *****************************************************************************/
 
-typedef unsigned short TBLOCKENTRY;    /* index the blk transfer table 0-7 */
-
 typedef struct TransferDesc {
        long long lpvBuff;      /* address of transfer area (for 64 or 32 bit) */
        unsigned int dwLength;  /* length of the area */
-       TBLOCKENTRY wAreaNum;   /* number of transfer area to set up */
+       unsigned short wAreaNum;        /* number of transfer area to set up */
        short eSize;            /* element size - is tohost flag for circular */
 } TRANSFERDESC;