aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/nwflash.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/nwflash.c')
-rw-r--r--drivers/char/nwflash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/nwflash.c b/drivers/char/nwflash.c
index d45c3345b4af..04e2a9491fca 100644
--- a/drivers/char/nwflash.c
+++ b/drivers/char/nwflash.c
@@ -617,9 +617,9 @@ static void kick_open(void)
617 * we want to write a bit pattern XXX1 to Xilinx to enable 617 * we want to write a bit pattern XXX1 to Xilinx to enable
618 * the write gate, which will be open for about the next 2ms. 618 * the write gate, which will be open for about the next 2ms.
619 */ 619 */
620 spin_lock_irqsave(&nw_gpio_lock, flags); 620 raw_spin_lock_irqsave(&nw_gpio_lock, flags);
621 nw_cpld_modify(CPLD_FLASH_WR_ENABLE, CPLD_FLASH_WR_ENABLE); 621 nw_cpld_modify(CPLD_FLASH_WR_ENABLE, CPLD_FLASH_WR_ENABLE);
622 spin_unlock_irqrestore(&nw_gpio_lock, flags); 622 raw_spin_unlock_irqrestore(&nw_gpio_lock, flags);
623 623
624 /* 624 /*
625 * let the ISA bus to catch on... 625 * let the ISA bus to catch on...