From afbe7bd4af75a611cbffef9758e26ad1ace5cbbb Mon Sep 17 00:00:00 2001 From: Kevin McKinney Date: Thu, 22 Nov 2012 14:48:39 -0500 Subject: [PATCH] --- yaml --- r: 338164 b: refs/heads/master c: 9e91edb71d899818ca769aa372372a8ed998357a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/bcm/Bcmchar.c | 4 ++-- trunk/drivers/staging/bcm/Ioctl.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index f40c935c0db8..d3229408f7da 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fb0b07650435321e196dd5ac9cfabf88eab86096 +refs/heads/master: 9e91edb71d899818ca769aa372372a8ed998357a diff --git a/trunk/drivers/staging/bcm/Bcmchar.c b/trunk/drivers/staging/bcm/Bcmchar.c index 31a1a2ba7ef1..73ed3d60d4fc 100644 --- a/trunk/drivers/staging/bcm/Bcmchar.c +++ b/trunk/drivers/staging/bcm/Bcmchar.c @@ -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) || diff --git a/trunk/drivers/staging/bcm/Ioctl.h b/trunk/drivers/staging/bcm/Ioctl.h index 05ef61dce8a6..f5d9b4af49f7 100644 --- a/trunk/drivers/staging/bcm/Ioctl.h +++ b/trunk/drivers/staging/bcm/Ioctl.h @@ -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