diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-01-06 18:44:09 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-01-06 18:44:09 +0900 |
commit | 854bf596b3be4f4b41c5b3bd8039e4828ec1ace6 (patch) | |
tree | 27b967178723f0230043dc0b0d1436d2eb81a29d /arch/arm/mach-s3c2443/s3c2443.c | |
parent | ab10f1dd914ad87e0370bd8b82f77dcd32b6d941 (diff) | |
parent | 13d27f05d7b2c41d59c6e4bd6fc4ea10d3302ec3 (diff) | |
download | blackbird-op-linux-854bf596b3be4f4b41c5b3bd8039e4828ec1ace6.tar.gz blackbird-op-linux-854bf596b3be4f4b41c5b3bd8039e4828ec1ace6.zip |
Merge branch 'next-s3c24xx' into for-next
Diffstat (limited to 'arch/arm/mach-s3c2443/s3c2443.c')
-rw-r--r-- | arch/arm/mach-s3c2443/s3c2443.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2443/s3c2443.c b/arch/arm/mach-s3c2443/s3c2443.c index 33d18dd1ebd5..e6a28ba52c7d 100644 --- a/arch/arm/mach-s3c2443/s3c2443.c +++ b/arch/arm/mach-s3c2443/s3c2443.c @@ -16,6 +16,7 @@ #include <linux/list.h> #include <linux/timer.h> #include <linux/init.h> +#include <linux/gpio.h> #include <linux/platform_device.h> #include <linux/serial_core.h> #include <linux/sysdev.h> @@ -32,6 +33,9 @@ #include <mach/regs-s3c2443-clock.h> #include <mach/reset.h> +#include <plat/gpio-core.h> +#include <plat/gpio-cfg.h> +#include <plat/gpio-cfg-helpers.h> #include <plat/s3c2443.h> #include <plat/devs.h> #include <plat/cpu.h> @@ -86,6 +90,9 @@ void __init s3c2443_init_uarts(struct s3c2410_uartcfg *cfg, int no) void __init s3c2443_map_io(void) { + s3c24xx_gpiocfg_default.set_pull = s3c_gpio_setpull_s3c2443; + s3c24xx_gpiocfg_default.get_pull = s3c_gpio_getpull_s3c2443; + iotable_init(s3c2443_iodesc, ARRAY_SIZE(s3c2443_iodesc)); } |