[PATCH UPDATE] Add MIPS generic GPIO support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 May 2007 23:12:00 +0900 (JST)
Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:

> On Mon, 21 May 2007 16:29:35 +0900, Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>

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 */


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux