aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-05-21 11:05:58 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-07-10 12:32:55 -0400
commit096633358c907d9b50b00caf989816c2edfefe24 (patch)
treec4d80a1a7f5e704491f0917565ebc772dff1ff41
parent4679258d52f6d4aeeafd5c77203d97ddf48e2db0 (diff)
[MIPS] Add generic GPIO support
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig3
-rw-r--r--include/asm-mips/gpio.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index c20cd9027585..1f2f7a9eabbe 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -778,6 +778,9 @@ config GENERIC_ISA_DMA_SUPPORT_BROKEN
778 bool 778 bool
779 select ZONE_DMA 779 select ZONE_DMA
780 780
781config GENERIC_GPIO
782 bool
783
781# 784#
782# Endianess selection. Sufficiently obscure so many users don't know what to 785# Endianess selection. Sufficiently obscure so many users don't know what to
783# answer,so we try hard to limit the available choices. Also the use of a 786# answer,so we try hard to limit the available choices. Also the use of a
diff --git a/include/asm-mips/gpio.h b/include/asm-mips/gpio.h
new file mode 100644
index 000000000000..06e46faf862d
--- /dev/null
+++ b/include/asm-mips/gpio.h
@@ -0,0 +1,6 @@
1#ifndef __ASM_MIPS_GPIO_H
2#define __ASM_MIPS_GPIO_H
3
4#include <gpio.h>
5
6#endif /* __ASM_MIPS_GPIO_H */