On Sat, 19 May 2007 21:51:37 +0200 Florian Fainelli <florian.fainelli@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> 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 */