From: Kevin McKinney Date: Thu, 22 Nov 2012 19:48:35 +0000 (-0500) Subject: Staging: bcm: Replace ULONG with unsigned long in Ioctl.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bb052b706faf55d32f080cfd43f2f7050fdc23b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: bcm: Replace ULONG with unsigned long in Ioctl.h This patch replace "ULONG" with "unsigned long" in Ioctl.h Signed-off-by: Kevin McKinney Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/Ioctl.h b/drivers/staging/bcm/Ioctl.h index aa3047809276..f4f5305c5bb6 100644 --- a/drivers/staging/bcm/Ioctl.h +++ b/drivers/staging/bcm/Ioctl.h @@ -2,21 +2,21 @@ #define _IOCTL_H_ typedef struct rdmbuffer { - ULONG Register; - ULONG Length; + unsigned long Register; + unsigned long Length; } __packed RDM_BUFFER, *PRDM_BUFFER; typedef struct wrmbuffer { - ULONG Register; - ULONG Length; + unsigned long Register; + unsigned long Length; unsigned char Data[4]; } __packed WRM_BUFFER, *PWRM_BUFFER; typedef struct ioctlbuffer { void __user *InputBuffer; - ULONG InputLength; + unsigned long InputLength; void __user *OutputBuffer; - ULONG OutputLength; + unsigned long OutputLength; } __packed IOCTL_BUFFER, *PIOCTL_BUFFER; typedef struct stGPIOInfo { @@ -124,9 +124,9 @@ typedef struct _NVM_READWRITE { } NVM_READWRITE, *PNVM_READWRITE; typedef struct bulkwrmbuffer { - ULONG Register; - ULONG SwapEndian; - ULONG Values[1]; + unsigned long Register; + unsigned long SwapEndian; + unsigned long Values[1]; } BULKWRM_BUFFER, *PBULKWRM_BUFFER;