[MIPS] txx9: Make gpio_txx9 entirely spinlock-safe
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 9 Jul 2008 16:02:08 +0000 (01:02 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:34 +0000 (18:44 +0100)
commit14476007c90005c8992b786c15a59cca31f53268
tree625733f5555d157f9c304d889fce1d2e521dd3b4
parent315806cb19f9d375dccbc2d60fa14e16afdcd5ac
[MIPS] txx9: Make gpio_txx9 entirely spinlock-safe

TXx9 GPIO set/get routines are spinlock-safe.  This patch make
gpio_direction_{input,output} routines also spinlock-safe so that they
can be used during early board setup.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/gpio_txx9.c