]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: footbridge: nw_gpio_lock is raw_spin_lock
authorArnd Bergmann <arnd@arndb.de>
Sun, 5 Aug 2012 14:59:12 +0000 (14:59 +0000)
committerArnd Bergmann <arnd@arndb.de>
Sun, 7 Oct 2012 08:33:12 +0000 (10:33 +0200)
commit5fcdbb788243c1a232848c9a4a0c5fdab36fb927
tree29897e692ff81474a9a74f0a27ce957b49cdc7e3
parent078007bb3c3a4380575602807e705cecf5ff0cc5
ARM: footbridge: nw_gpio_lock is raw_spin_lock

9a0a81fa2b5 "locking, ARM: Annotate low level hw locks as raw"
made nw_gpio_lock a raw spinlock, but did not change all the
users in device drivers. This fixes the remaining ones.

sound/oss/waveartist.c: In function 'vnc_mute_spkr':
sound/oss/waveartist.c:1485:2: warning: passing argument 1 of 'spinlock_check' from incompatible pointer type [enabled by default]
include/linux/spinlock.h:272:102: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
drivers/char/ds1620.c: In function 'netwinder_lock':
drivers/char/ds1620.c:77:2: warning: passing argument 1 of 'spinlock_check' from incompatible pointer type [enabled by default]
include/linux/spinlock.h:272:102: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'
drivers/char/nwflash.c: In function 'kick_open':
drivers/char/nwflash.c:620:2: warning: passing argument 1 of 'spinlock_check' from incompatible pointer type [enabled by default]
include/linux/spinlock.h:272:102: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/char/ds1620.c
drivers/char/nwflash.c
sound/oss/waveartist.c