linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] Add MIPS generic GPIO support

To: Florian Fainelli <florian.fainelli@telecomint.eu>
Subject: Re: [PATCH 1/2] Add MIPS generic GPIO support
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Sun, 20 May 2007 18:23:01 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
In-reply-to: <200705192151.37338.florian.fainelli@telecomint.eu>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200705192151.37338.florian.fainelli@telecomint.eu>
Sender: linux-mips-bounce@linux-mips.org
On Sat, 19 May 2007 21:51:37 +0200
Florian Fainelli <florian.fainelli@telecomint.eu> wrote:

> This patch adds support for the generic GPIO API to MIPS boards.

Your patch is effective to the target that doesn't support GPIO.
This is better.

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X gpio/Documentation/dontdiff gpio-orig/include/asm-mips/gpio.h 
gpio/include/asm-mips/gpio.h
--- gpio-orig/include/asm-mips/gpio.h   1970-01-01 09:00:00.000000000 +0900
+++ gpio/include/asm-mips/gpio.h        2007-05-20 17:21:36.332456000 +0900
@@ -0,0 +1,6 @@
+#ifndef __ASM_MIPS_GPIO_H
+#define __ASM_MIPS_GPIO_H
+
+#include <gpio.h>
+
+#endif /* __ASM_MIPS_GPIO_H */
diff -pruN -X gpio/Documentation/dontdiff 
gpio-orig/include/asm-mips/mach-generic/gpio.h 
gpio/include/asm-mips/mach-generic/gpio.h
--- gpio-orig/include/asm-mips/mach-generic/gpio.h      1970-01-01 
09:00:00.000000000 +0900
+++ gpio/include/asm-mips/mach-generic/gpio.h   2007-05-20 17:24:07.401897250 
+0900
@@ -0,0 +1,6 @@
+#ifndef __ASM_MACH_GENERIC_GPIO_H
+#define __ASM_MACH_GENERIC_GPIO_H
+
+/* no GPIO support */ 
+
+#endif /* __ASM_MACH_GENERIC_GPIO_H */

<Prev in Thread] Current Thread [Next in Thread>