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

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

parent 3f262b21
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;