Staging: bcm: Bcmchar.c: Renamed variable: "ucRead" -> "read"
authorMatthias Beyer <mail@beyermatthias.de>
Wed, 27 Aug 2014 10:57:42 +0000 (12:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:01:37 +0000 (13:01 -0700)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c

index c53da9d2ccdca5fdd124b69b16c3b5e685661f88..e05ebe248a139c50e869f7631aa4b030f5825d1e 100644 (file)
@@ -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;