Commit fe773165 authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

Staging: bcm: Bcmchar.c: Renamed variable "uiOperation" -> "operation"

Renamed variable "uiOperation" -> "operation" in
bcm_char_ioctl_gpio_set_request().
Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 198d73da
...@@ -484,7 +484,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp, ...@@ -484,7 +484,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp,
UCHAR reset_val[4]; UCHAR reset_val[4];
UINT value = 0; UINT value = 0;
UINT bit = 0; UINT bit = 0;
UINT uiOperation = 0; UINT operation = 0;
INT status; INT status;
int bytes; int bytes;
...@@ -509,7 +509,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp, ...@@ -509,7 +509,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp,
return -EFAULT; return -EFAULT;
bit = gpio_info.uiGpioNumber; bit = gpio_info.uiGpioNumber;
uiOperation = gpio_info.uiGpioValue; operation = gpio_info.uiGpioValue;
value = (1<<bit); value = (1<<bit);
if (IsReqGpioIsLedInNVM(ad, value) == false) { if (IsReqGpioIsLedInNVM(ad, value) == false) {
...@@ -521,7 +521,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp, ...@@ -521,7 +521,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp,
} }
/* Set - setting 1 */ /* Set - setting 1 */
if (uiOperation) { if (operation) {
/* Set the gpio output register */ /* Set the gpio output register */
status = wrmaltWithLock(ad, status = wrmaltWithLock(ad,
BCM_GPIO_OUTPUT_SET_REG, BCM_GPIO_OUTPUT_SET_REG,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment