From: Monam Agarwal Date: Sun, 2 Mar 2014 15:30:46 +0000 (+0530) Subject: Staging: ced1401: Fix do not add new typedefs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e68f33b881d8476482701cc13393ef2e9e3b0061;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 Signed-off-by: Greg Kroah-Hartman --- 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;