From e68f33b881d8476482701cc13393ef2e9e3b0061 Mon Sep 17 00:00:00 2001 From: Monam Agarwal Date: Sun, 2 Mar 2014 21:00:46 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ced1401/ced_ioctl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.20.1