All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] ARM: S5PC100: Move external interrupt defines
@ 2010-06-03  5:01 ` Joonyoung Shim
  0 siblings, 0 replies; 18+ messages in thread
From: Joonyoung Shim @ 2010-06-03  5:01 UTC (permalink / raw)
  To: ben-linux; +Cc: linux-arm-kernel, linux-samsung-soc, kyungmin.park

This patch moves external interrupt defines from gpio.h to regs-gpio.h
for consistency with s5pv210.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/mach-s5pc100/include/mach/gpio.h      |    7 -------
 arch/arm/mach-s5pc100/include/mach/regs-gpio.h |    7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm/mach-s5pc100/include/mach/gpio.h b/arch/arm/mach-s5pc100/include/mach/gpio.h
index 71ae1f5..29a8a12 100644
--- a/arch/arm/mach-s5pc100/include/mach/gpio.h
+++ b/arch/arm/mach-s5pc100/include/mach/gpio.h
@@ -146,13 +146,6 @@ enum s5p_gpio_number {
 /* define the number of gpios we need to the one after the MP04() range */
 #define ARCH_NR_GPIOS		(S5PC100_GPIO_END + 1)
 
-#define EINT_MODE		S3C_GPIO_SFN(0x2)
-
-#define EINT_GPIO_0(x)		S5PC100_GPH0(x)
-#define EINT_GPIO_1(x)		S5PC100_GPH1(x)
-#define EINT_GPIO_2(x)		S5PC100_GPH2(x)
-#define EINT_GPIO_3(x)		S5PC100_GPH3(x)
-
 #include <asm-generic/gpio.h>
 
 #endif /* __ASM_ARCH_GPIO_H */
diff --git a/arch/arm/mach-s5pc100/include/mach/regs-gpio.h b/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
index dd6295e..6abe481 100644
--- a/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
+++ b/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
@@ -71,5 +71,12 @@
 #define S5P_EXTINT_RISEEDGE		(0x03)
 #define S5P_EXTINT_BOTHEDGE		(0x04)
 
+#define EINT_MODE		S3C_GPIO_SFN(0x2)
+
+#define EINT_GPIO_0(x)		S5PC100_GPH0(x)
+#define EINT_GPIO_1(x)		S5PC100_GPH1(x)
+#define EINT_GPIO_2(x)		S5PC100_GPH2(x)
+#define EINT_GPIO_3(x)		S5PC100_GPH3(x)
+
 #endif /* __ASM_MACH_S5PC100_REGS_GPIO_H */
 
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-06-03  6:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03  5:01 [PATCH 1/7] ARM: S5PC100: Move external interrupt defines Joonyoung Shim
2010-06-03  5:01 ` Joonyoung Shim
2010-06-03  5:01 ` [PATCH 2/7] ARM: S5P: Add GPIOlib gpio_to_irq for external interrupts Joonyoung Shim
2010-06-03  5:01   ` Joonyoung Shim
2010-06-03  5:43   ` Ben Dooks
2010-06-03  5:43     ` Ben Dooks
2010-06-03  6:14     ` Joonyoung Shim
2010-06-03  6:14       ` Joonyoung Shim
2010-06-03  5:01 ` [PATCH 3/7] ARM: S5PV210: Support " Joonyoung Shim
2010-06-03  5:01   ` Joonyoung Shim
2010-06-03  5:01 ` [PATCH 4/7] ARM: S5PC100: Use S5P GPIOlib gpio_to_irq function " Joonyoung Shim
2010-06-03  5:01   ` Joonyoung Shim
2010-06-03  5:01 ` [PATCH 5/7] ARM: S5PV210: Add gpio interrupt support Joonyoung Shim
2010-06-03  5:01   ` Joonyoung Shim
2010-06-03  5:01 ` [PATCH 6/7] ARM: S5PC100: Use S5P gpio interrupts interface Joonyoung Shim
2010-06-03  5:01   ` Joonyoung Shim
2010-06-03  5:01 ` [PATCH 7/7] ARM: S5P: Add GPIOlib gpio_to_irq for gpio interrupts Joonyoung Shim
2010-06-03  5:01   ` Joonyoung Shim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.