summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/bcm/Bcmchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index c53da9d2ccdc..e05ebe248a13 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -643,7 +643,7 @@ static int bcm_char_ioctl_gpio_status_request(void __user *argp,
struct bcm_gpio_info gpio_info = {0};
struct bcm_ioctl_buffer io_buff;
ULONG bit = 0;
- UCHAR ucRead[4];
+ UCHAR read[4];
INT Status;
int bytes;
@@ -666,7 +666,7 @@ static int bcm_char_ioctl_gpio_status_request(void __user *argp,
/* Set the gpio output register */
bytes = rdmaltWithLock(ad, (UINT)GPIO_PIN_STATE_REGISTER,
- (PUINT)ucRead, sizeof(UINT));
+ (PUINT)read, sizeof(UINT));
if (bytes < 0) {
Status = bytes;
OpenPOWER on IntegriCloud