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

Staging: bcm: Bcmchar.c: Renamed variable: "uiBit" -> "bit"

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9b62b963
...@@ -642,7 +642,7 @@ static int bcm_char_ioctl_gpio_status_request(void __user *argp, ...@@ -642,7 +642,7 @@ static int bcm_char_ioctl_gpio_status_request(void __user *argp,
{ {
struct bcm_gpio_info gpio_info = {0}; struct bcm_gpio_info gpio_info = {0};
struct bcm_ioctl_buffer io_buff; struct bcm_ioctl_buffer io_buff;
ULONG uiBit = 0; ULONG bit = 0;
UCHAR ucRead[4]; UCHAR ucRead[4];
INT Status; INT Status;
int bytes; int bytes;
...@@ -662,7 +662,7 @@ static int bcm_char_ioctl_gpio_status_request(void __user *argp, ...@@ -662,7 +662,7 @@ static int bcm_char_ioctl_gpio_status_request(void __user *argp,
io_buff.InputLength)) io_buff.InputLength))
return -EFAULT; return -EFAULT;
uiBit = gpio_info.uiGpioNumber; bit = gpio_info.uiGpioNumber;
/* Set the gpio output register */ /* Set the gpio output register */
bytes = rdmaltWithLock(ad, (UINT)GPIO_PIN_STATE_REGISTER, bytes = rdmaltWithLock(ad, (UINT)GPIO_PIN_STATE_REGISTER,
......
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