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

Staging: bcm: Bcmchar.c: Renamed variable: "NVMAccess" -> "nvm_access"

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f262b21
...@@ -1121,10 +1121,10 @@ static int bcm_char_ioctl_buffer_download_stop(void __user *argp, ...@@ -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) static int bcm_char_ioctl_chip_reset(struct bcm_mini_adapter *ad)
{ {
INT status; INT status;
INT NVMAccess; INT nvm_access;
NVMAccess = down_trylock(&ad->NVMRdmWrmLock); nvm_access = down_trylock(&ad->NVMRdmWrmLock);
if (NVMAccess) { if (nvm_access) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0, BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0,
" IOCTL_BCM_CHIP_RESET not allowed as EEPROM Read/Write is in progress\n"); " IOCTL_BCM_CHIP_RESET not allowed as EEPROM Read/Write is in progress\n");
return -EACCES; return -EACCES;
......
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