From: Monam Agarwal <monamagarwal123@gmail.com>
Date: Sun, 2 Mar 2014 15:30:46 +0000 (+0530)
Subject: Staging: ced1401: Fix do not add new typedefs
X-Git-Tag: firefly_0821_release~176^2~4193^2~594
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e68f33b881d8476482701cc13393ef2e9e3b0061;p=firefly-linux-kernel-4.4.55.git

Staging: ced1401: Fix do not add new typedefs

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>
---

diff --git a/drivers/staging/ced1401/ced_ioctl.h b/drivers/staging/ced1401/ced_ioctl.h
index aa68878bd251..50768ffec55d 100644
--- a/drivers/staging/ced1401/ced_ioctl.h
+++ b/drivers/staging/ced1401/ced_ioctl.h
@@ -26,12 +26,10 @@
 ** 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;