Renamed variable "ucResetValue" -> "reset_val" in
bcm_char_ioctl_gpio_set_request().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
{
struct bcm_gpio_info gpio_info = {0};
struct bcm_ioctl_buffer io_buff;
{
struct bcm_gpio_info gpio_info = {0};
struct bcm_ioctl_buffer io_buff;
UINT value = 0;
UINT uiBit = 0;
UINT uiOperation = 0;
UINT value = 0;
UINT uiBit = 0;
UINT uiOperation = 0;
}
bytes = rdmaltWithLock(ad, (UINT)GPIO_MODE_REGISTER,
}
bytes = rdmaltWithLock(ad, (UINT)GPIO_MODE_REGISTER,
- (PUINT)ucResetValue, sizeof(UINT));
+ (PUINT)reset_val, sizeof(UINT));
if (bytes < 0) {
status = bytes;
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
if (bytes < 0) {
status = bytes;
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
}
/* Set the gpio mode register to output */
}
/* Set the gpio mode register to output */
- *(UINT *)ucResetValue |= (1<<uiBit);
+ *(UINT *)reset_val |= (1<<uiBit);
status = wrmaltWithLock(ad, GPIO_MODE_REGISTER,
status = wrmaltWithLock(ad, GPIO_MODE_REGISTER,
- (PUINT)ucResetValue, sizeof(UINT));
+ (PUINT)reset_val, sizeof(UINT));
if (status == STATUS_SUCCESS) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG,
if (status == STATUS_SUCCESS) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG,