ARM: 5970/1: nomadik-gpio: fix spinlock usage
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 3 Mar 2010 03:48:54 +0000 (04:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 19 Mar 2010 18:29:31 +0000 (18:29 +0000)
commitc0fcb8dba829421fe20652a376a2bedaf168238f
treef1c6afccd8c5bd09177415a8874dbd941f58e286
parent3a5e854e09b77c49c8030c7dfd3a3f506571a89a
ARM: 5970/1: nomadik-gpio: fix spinlock usage

Fix the incorrect spinlock usage which leads to these compiler warnings:

arch/arm/plat-nomadik/gpio.c:60: warning: passing argument 1 of `spinlock_check' from incompatible pointer type
arch/arm/plat-nomadik/gpio.c:69: warning: passing argument 1 of `spin_unlock_irqrestore' from incompatible pointer type

Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-nomadik/gpio.c