Staging: bcm: Bcmchar.c: Renamed variable: "NVMAccess" -> "nvm_access"
authorMatthias Beyer <mail@beyermatthias.de>
Wed, 27 Aug 2014 10:57:48 +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 810e174bcb2ee5420f97c2893e05cf909234732e..dea2cce3abae16c45cca5e706e493bd2e1c67927 100644 (file)
@@ -1121,10 +1121,10 @@ static int bcm_char_ioctl_buffer_download_stop(void __user *argp,
 static int bcm_char_ioctl_chip_reset(struct bcm_mini_adapter *ad)
 {
        INT status;
-       INT NVMAccess;
+       INT nvm_access;
 
-       NVMAccess = down_trylock(&ad->NVMRdmWrmLock);
-       if (NVMAccess) {
+       nvm_access = down_trylock(&ad->NVMRdmWrmLock);
+       if (nvm_access) {
                BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0,
                        " IOCTL_BCM_CHIP_RESET not allowed as EEPROM Read/Write is in progress\n");
                return -EACCES;