Commit 1bb052b7 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Replace ULONG with unsigned long in Ioctl.h

This patch replace "ULONG" with "unsigned
long" in Ioctl.h
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15b18b46
...@@ -2,21 +2,21 @@ ...@@ -2,21 +2,21 @@
#define _IOCTL_H_ #define _IOCTL_H_
typedef struct rdmbuffer { typedef struct rdmbuffer {
ULONG Register; unsigned long Register;
ULONG Length; unsigned long Length;
} __packed RDM_BUFFER, *PRDM_BUFFER; } __packed RDM_BUFFER, *PRDM_BUFFER;
typedef struct wrmbuffer { typedef struct wrmbuffer {
ULONG Register; unsigned long Register;
ULONG Length; unsigned long Length;
unsigned char Data[4]; unsigned char Data[4];
} __packed WRM_BUFFER, *PWRM_BUFFER; } __packed WRM_BUFFER, *PWRM_BUFFER;
typedef struct ioctlbuffer { typedef struct ioctlbuffer {
void __user *InputBuffer; void __user *InputBuffer;
ULONG InputLength; unsigned long InputLength;
void __user *OutputBuffer; void __user *OutputBuffer;
ULONG OutputLength; unsigned long OutputLength;
} __packed IOCTL_BUFFER, *PIOCTL_BUFFER; } __packed IOCTL_BUFFER, *PIOCTL_BUFFER;
typedef struct stGPIOInfo { typedef struct stGPIOInfo {
...@@ -124,9 +124,9 @@ typedef struct _NVM_READWRITE { ...@@ -124,9 +124,9 @@ typedef struct _NVM_READWRITE {
} NVM_READWRITE, *PNVM_READWRITE; } NVM_READWRITE, *PNVM_READWRITE;
typedef struct bulkwrmbuffer { typedef struct bulkwrmbuffer {
ULONG Register; unsigned long Register;
ULONG SwapEndian; unsigned long SwapEndian;
ULONG Values[1]; unsigned long Values[1];
} BULKWRM_BUFFER, *PBULKWRM_BUFFER; } BULKWRM_BUFFER, *PBULKWRM_BUFFER;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment