On Mon, 21 May 2007 23:12:00 +0900 (JST)
Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:
> On Mon, 21 May 2007 16:29:35 +0900, Yoichi Yuasa
> <yoichi_yuasa@tripeaks.co.jp> wrote:
> > This patch has added support for the generic GPIO API header file to MIPS.
>
> With the change, adding these lines to Kconfig would be better.
>
> config GENERIC_GPIO
> bool
Atsushi, thank you for your comment.
This patch has added support for the generic GPIO API to MIPS.
Yoichi
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/Kconfig
mips/arch/mips/Kconfig
--- mips-orig/arch/mips/Kconfig 2007-05-21 16:08:48.846031250 +0900
+++ mips/arch/mips/Kconfig 2007-05-21 23:56:57.784356000 +0900
@@ -778,6 +778,9 @@ config GENERIC_ISA_DMA_SUPPORT_BROKEN
bool
select ZONE_DMA
+config GENERIC_GPIO
+ bool
+
#
# Endianess selection. Sufficiently obscure so many users don't know what to
# answer,so we try hard to limit the available choices. Also the use of a
diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/gpio.h
mips/include/asm-mips/gpio.h
--- mips-orig/include/asm-mips/gpio.h 1970-01-01 09:00:00.000000000 +0900
+++ mips/include/asm-mips/gpio.h 2007-05-21 17:07:51.769161250 +0900
@@ -0,0 +1,6 @@
+#ifndef __ASM_MIPS_GPIO_H
+#define __ASM_MIPS_GPIO_H
+
+#include <gpio.h>
+
+#endif /* __ASM_MIPS_GPIO_H */
|