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 c53da9d..e05ebe2 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;