[PATCH 7/8] ARM: i.MX: move iomux definitions to iomux.h

Sascha Hauer s.hauer at pengutronix.de
Sat Aug 17 05:25:36 EDT 2013


mach/gpio.h is for the gpio API, so move unrelated stuff
away.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-imx/include/mach/gpio.h     | 2 --
 arch/arm/mach-imx/include/mach/iomux-v1.h | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/gpio.h b/arch/arm/mach-imx/include/mach/gpio.h
index 489ae2c..fee693e 100644
--- a/arch/arm/mach-imx/include/mach/gpio.h
+++ b/arch/arm/mach-imx/include/mach/gpio.h
@@ -3,6 +3,4 @@
 
 #include <asm-generic/gpio.h>
 
-void imx_gpio_mode(int gpio_mode);
-
 #endif /* __ASM_ARCH_GPIO_H */
diff --git a/arch/arm/mach-imx/include/mach/iomux-v1.h b/arch/arm/mach-imx/include/mach/iomux-v1.h
index 49dcecd..e822905 100644
--- a/arch/arm/mach-imx/include/mach/iomux-v1.h
+++ b/arch/arm/mach-imx/include/mach/iomux-v1.h
@@ -46,5 +46,6 @@
 #define GPIO_GIUS      (1 << 16)
 
 void imx_iomuxv1_init(void __iomem *base);
+void imx_gpio_mode(int gpio_mode);
 
 #endif /* __MACH_IOMUX_V1_H__ */
-- 
1.8.4.rc2




More information about the barebox mailing list