Skip to content

Commit

Permalink
Staging: bcm: Replace ULONG with unsigned long in Ioctl.h
Browse files Browse the repository at this point in the history
This patch replace "ULONG" with "unsigned
long" in Ioctl.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 15b18b4 commit 1bb052b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions drivers/staging/bcm/Ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 1bb052b

Please sign in to comment.