CRISv32: Fix typo compile error in ARTPEC-3 gpio driver.
authorJesper Nilsson <jesper.nilsson@axis.com>
Tue, 28 Apr 2009 17:08:10 +0000 (19:08 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Tue, 28 Apr 2009 17:08:10 +0000 (19:08 +0200)
commit999fb23ef868719b8bd55ee3f6b1f7a8fd8016af
treefb96393adf28f3c4cc9792eb142352cf7195b9c3
parent6d3d4be40357e3ea43b5c8837dec01d8f6cd1c67
CRISv32: Fix typo compile error in ARTPEC-3 gpio driver.

arch/cris/arch-v32/drivers/mach-a3/gpio.c:
+spin_lock_irqrestore(&gpio_lock, flags);
arch/cris/arch-v32/drivers/mach-a3/gpio.c:
+spin_lock_irqrestore(&gpio_lock, flags);

  should that not be "spin_unlock_irqrestore()"?

The code in question was inside an (most often) undefined ifdef.

Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/drivers/mach-a3/gpio.c