Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338164
b: refs/heads/master
c: 9e91edb
h: refs/heads/master
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 05ba32d commit afbe7bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: fb0b07650435321e196dd5ac9cfabf88eab86096
refs/heads/master: 9e91edb71d899818ca769aa372372a8ed998357a
4 changes: 2 additions & 2 deletions trunk/drivers/staging/bcm/Bcmchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,8 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)

case IOCTL_BCM_GPIO_MODE_REQUEST: {
UCHAR ucResetValue[4];
GPIO_MULTI_MODE gpio_multi_mode[MAX_IDX];
PGPIO_MULTI_MODE pgpio_multi_mode = (PGPIO_MULTI_MODE)gpio_multi_mode;
struct bcm_gpio_multi_mode gpio_multi_mode[MAX_IDX];
struct bcm_gpio_multi_mode *pgpio_multi_mode = (struct bcm_gpio_multi_mode *)gpio_multi_mode;

if ((Adapter->IdleMode == TRUE) ||
(Adapter->bShutStatus == TRUE) ||
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/bcm/Ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ typedef struct stGPIOMultiInfo {
unsigned int uiGPIOValue; /* 0 or 1; value to be set when command is 1. */
} __packed GPIO_MULTI_INFO, *PGPIO_MULTI_INFO;

typedef struct stGPIOMultiMode {
struct bcm_gpio_multi_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;
} __packed;

#endif

0 comments on commit afbe7bd

Please sign in to comment.