[PATCH 07/27] Staging: bcm: Replace ULONG with unsigned long in Ioctl.h
Kevin McKinney
klmckinney1 at gmail.com
Thu Nov 22 19:48:35 UTC 2012
This patch replace "ULONG" with "unsigned
long" in Ioctl.h
Signed-off-by: Kevin McKinney <klmckinney1 at gmail.com>
---
drivers/staging/bcm/Ioctl.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/bcm/Ioctl.h b/drivers/staging/bcm/Ioctl.h
index aa30478..f4f5305 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;
--
1.7.9.5
More information about the devel
mailing list