diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-h1940.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-h1940.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index 8c895c077d22..15b625eae499 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/list.h> | 17 | #include <linux/list.h> |
18 | #include <linux/timer.h> | 18 | #include <linux/timer.h> |
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/serial_core.h> | ||
20 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
21 | 22 | ||
22 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
@@ -33,14 +34,14 @@ | |||
33 | #include <asm/arch/regs-serial.h> | 34 | #include <asm/arch/regs-serial.h> |
34 | #include <asm/arch/regs-lcd.h> | 35 | #include <asm/arch/regs-lcd.h> |
35 | 36 | ||
37 | #include <asm/arch/h1940.h> | ||
36 | #include <asm/arch/h1940-latch.h> | 38 | #include <asm/arch/h1940-latch.h> |
37 | #include <asm/arch/fb.h> | 39 | #include <asm/arch/fb.h> |
38 | 40 | ||
39 | #include <linux/serial_core.h> | ||
40 | |||
41 | #include "clock.h" | 41 | #include "clock.h" |
42 | #include "devs.h" | 42 | #include "devs.h" |
43 | #include "cpu.h" | 43 | #include "cpu.h" |
44 | #include "pm.h" | ||
44 | 45 | ||
45 | static struct map_desc h1940_iodesc[] __initdata = { | 46 | static struct map_desc h1940_iodesc[] __initdata = { |
46 | [0] = { | 47 | [0] = { |
@@ -164,12 +165,16 @@ static void __init h1940_map_io(void) | |||
164 | s3c24xx_init_clocks(0); | 165 | s3c24xx_init_clocks(0); |
165 | s3c24xx_init_uarts(h1940_uartcfgs, ARRAY_SIZE(h1940_uartcfgs)); | 166 | s3c24xx_init_uarts(h1940_uartcfgs, ARRAY_SIZE(h1940_uartcfgs)); |
166 | s3c24xx_set_board(&h1940_board); | 167 | s3c24xx_set_board(&h1940_board); |
168 | |||
169 | /* setup PM */ | ||
170 | |||
171 | memcpy(phys_to_virt(H1940_SUSPEND_RESUMEAT), h1940_pm_return, 1024); | ||
172 | s3c2410_pm_init(); | ||
167 | } | 173 | } |
168 | 174 | ||
169 | static void __init h1940_init_irq(void) | 175 | static void __init h1940_init_irq(void) |
170 | { | 176 | { |
171 | s3c24xx_init_irq(); | 177 | s3c24xx_init_irq(); |
172 | |||
173 | } | 178 | } |
174 | 179 | ||
175 | static void __init h1940_init(void) | 180 | static void __init h1940_init(void) |