Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338163
b: refs/heads/master
c: fb0b076
h: refs/heads/master
i:
  338161: 55a6f97
  338159: 40e2d2d
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 25221a6 commit 05ba32d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73f44785b3aa77afd1771f5151d204f99d24faea
refs/heads/master: fb0b07650435321e196dd5ac9cfabf88eab86096
24 changes: 12 additions & 12 deletions trunk/drivers/staging/bcm/Ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ typedef struct ioctlbuffer {
} __packed IOCTL_BUFFER, *PIOCTL_BUFFER;

typedef struct stGPIOInfo {
UINT uiGpioNumber; /* valid numbers 0-15 */
UINT uiGpioValue; /* 1 set ; 0 not set */
unsigned int uiGpioNumber; /* valid numbers 0-15 */
unsigned int uiGpioValue; /* 1 set ; 0 not set */
} __packed GPIO_INFO, *PGPIO_INFO;

typedef struct stUserThreadReq {
/* 0->Inactivate LED thread. */
/* 1->Activate the LED thread */
UINT ThreadState;
unsigned int ThreadState;
} __packed USER_THREAD_REQ, *PUSER_THREAD_REQ;

#define LED_THREAD_ACTIVATION_REQ 1
Expand Down Expand Up @@ -109,11 +109,11 @@ typedef enum _BCM_INTERFACE_TYPE {

typedef struct _DEVICE_DRIVER_INFO {
NVM_TYPE u32NVMType;
UINT MaxRDMBufferSize;
unsigned int MaxRDMBufferSize;
BCM_INTERFACE_TYPE u32InterfaceType;
UINT u32DSDStartOffset;
UINT u32RxAlignmentCorrection;
UINT u32Reserved[10];
unsigned int u32DSDStartOffset;
unsigned int u32RxAlignmentCorrection;
unsigned int u32Reserved[10];
} DEVICE_DRIVER_INFO;

typedef struct _NVM_READWRITE {
Expand Down Expand Up @@ -220,14 +220,14 @@ enum {
};

typedef struct stGPIOMultiInfo {
UINT uiGPIOCommand; /* 1 for set and 0 for get */
UINT uiGPIOMask; /* set the correspondig bit to 1 to access GPIO */
UINT uiGPIOValue; /* 0 or 1; value to be set when command is 1. */
unsigned int uiGPIOCommand; /* 1 for set and 0 for get */
unsigned int uiGPIOMask; /* set the correspondig bit to 1 to access GPIO */
unsigned int uiGPIOValue; /* 0 or 1; value to be set when command is 1. */
} __packed GPIO_MULTI_INFO, *PGPIO_MULTI_INFO;

typedef struct stGPIOMultiMode {
UINT uiGPIOMode; /* 1 for OUT mode, 0 for IN mode */
UINT uiGPIOMask; /* GPIO mask to set mode */
unsigned int uiGPIOMode; /* 1 for OUT mode, 0 for IN mode */
unsigned int uiGPIOMask; /* GPIO mask to set mode */
} __packed GPIO_MULTI_MODE, *PGPIO_MULTI_MODE;

#endif

0 comments on commit 05ba32d

Please sign in to comment.