Renamed variable "Status" -> "status" in bcm_char_ioctl_reg_write_private(). Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/Bcmchar.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index b3e68b8..53c26d5 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -300,7 +300,7 @@ static int bcm_char_ioctl_reg_write_private(void __user *argp, struct bcm_wrm_buffer wrm_buff = {0}; struct bcm_ioctl_buffer io_buff; UINT tmp = 0; - INT Status; + INT status; /* Copy Ioctl Buffer structure */ @@ -327,18 +327,18 @@ static int bcm_char_ioctl_reg_write_private(void __user *argp, return -EFAULT; } - Status = wrmalt(ad, (UINT)wrm_buff.Register, + status = wrmalt(ad, (UINT)wrm_buff.Register, (PUINT)wrm_buff.Data, sizeof(ULONG)); - if (Status == STATUS_SUCCESS) { + if (status == STATUS_SUCCESS) { BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "WRM Done\n"); } else { BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "WRM Failed\n"); - Status = -EFAULT; + status = -EFAULT; } - return Status; + return status; } static int bcm_char_ioctl_eeprom_reg_read(void __user *argp, -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel