[MIPS] make fallback gpio.h gpiolib-friendly
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 4 Apr 2008 15:55:24 +0000 (00:55 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:31 +0000 (17:14 +0100)
commit8aa62adafada6e3f29e12dacf1d6f491d2ba5f7f
tree34823f01604a79d519050b4b788812eeb4360b48
parent46684734dd6a55af09c3fe799af7d74cb938684c
[MIPS] make fallback gpio.h gpiolib-friendly

If gpiolib was selected, asm-generic/gpio.h provides some prototypes
for gpio API and implementation helpers.  With this patch, platform
code can implement its GPIO API using gpiolib without custom gpio.h
file.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mach-generic/gpio.h