diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-16 12:39:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-16 15:58:33 +0200 |
commit | a8ead3b9ddd2826f0268e877592f46461dce842b (patch) | |
tree | 47e384bc0acb708e18077222590409bb37a185aa /arch/arm/mach-samsung/include | |
parent | fcf4ed08a89de3b17ea11a3edac2389b2c8d45c4 (diff) | |
download | barebox-a8ead3b9ddd2826f0268e877592f46461dce842b.tar.gz barebox-a8ead3b9ddd2826f0268e877592f46461dce842b.tar.xz |
ARM: Samsung: move iomux definitions to iomux.h
mach/gpio.h is for the gpio API, so move unrelated stuff
away.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-samsung/include')
-rw-r--r-- | arch/arm/mach-samsung/include/mach/gpio.h | 12 | ||||
-rw-r--r-- | arch/arm/mach-samsung/include/mach/iomux.h | 28 |
2 files changed, 28 insertions, 12 deletions
diff --git a/arch/arm/mach-samsung/include/mach/gpio.h b/arch/arm/mach-samsung/include/mach/gpio.h index 9e64a841b6..39206676f8 100644 --- a/arch/arm/mach-samsung/include/mach/gpio.h +++ b/arch/arm/mach-samsung/include/mach/gpio.h @@ -13,18 +13,6 @@ #ifndef __ASM_MACH_GPIO_H #define __ASM_MACH_GPIO_H -#ifdef CONFIG_ARCH_S3C24xx -# include <mach/iomux-s3c24x0.h> -#endif -#ifdef CONFIG_ARCH_S3C64xx -# include <mach/iomux-s3c64xx.h> -#endif -#ifdef CONFIG_ARCH_S5PCxx -# include <mach/iomux-s5pcxx.h> -#endif - #include <asm-generic/gpio.h> -void s3c_gpio_mode(unsigned); - #endif /* __ASM_MACH_GPIO_H */ diff --git a/arch/arm/mach-samsung/include/mach/iomux.h b/arch/arm/mach-samsung/include/mach/iomux.h new file mode 100644 index 0000000000..48651d85c3 --- /dev/null +++ b/arch/arm/mach-samsung/include/mach/iomux.h @@ -0,0 +1,28 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __ASM_MACH_IOMUX_H +#define __ASM_MACH_IOMUX_H + +#ifdef CONFIG_ARCH_S3C24xx +# include <mach/iomux-s3c24x0.h> +#endif +#ifdef CONFIG_ARCH_S3C64xx +# include <mach/iomux-s3c64xx.h> +#endif +#ifdef CONFIG_ARCH_S5PCxx +# include <mach/iomux-s5pcxx.h> +#endif + +void s3c_gpio_mode(unsigned); + +#endif /* __ASM_MACH_IOMUX_H */ |