diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/pm.c')
-rw-r--r-- | arch/arm/mach-s3c2410/pm.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/arch/arm/mach-s3c2410/pm.c b/arch/arm/mach-s3c2410/pm.c index a589fe76d915..164a5b5847d7 100644 --- a/arch/arm/mach-s3c2410/pm.c +++ b/arch/arm/mach-s3c2410/pm.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* linux/arch/arm/mach-s3c2410/pm.c | 1 | /* linux/arch/arm/mach-s3c2410/pm.c |
2 | * | 2 | * |
3 | * Copyright (c) 2004 Simtec Electronics | 3 | * Copyright (c) 2004,2006 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 5 | * |
6 | * S3C2410 Power Manager (Suspend-To-RAM) support | 6 | * S3C24XX Power Manager (Suspend-To-RAM) support |
7 | * | 7 | * |
8 | * See Documentation/arm/Samsung-S3C24XX/Suspend.txt for more information | 8 | * See Documentation/arm/Samsung-S3C24XX/Suspend.txt for more information |
9 | * | 9 | * |
@@ -24,9 +24,6 @@ | |||
24 | * Parts based on arch/arm/mach-pxa/pm.c | 24 | * Parts based on arch/arm/mach-pxa/pm.c |
25 | * | 25 | * |
26 | * Thanks to Dimitry Andric for debugging | 26 | * Thanks to Dimitry Andric for debugging |
27 | * | ||
28 | * Modifications: | ||
29 | * 10-Mar-2005 LCVR Changed S3C2410_VA_UART to S3C24XX_VA_UART | ||
30 | */ | 27 | */ |
31 | 28 | ||
32 | #include <linux/init.h> | 29 | #include <linux/init.h> |
@@ -92,19 +89,6 @@ static struct sleep_save core_save[] = { | |||
92 | SAVE_ITEM(S3C2410_REFRESH), | 89 | SAVE_ITEM(S3C2410_REFRESH), |
93 | }; | 90 | }; |
94 | 91 | ||
95 | /* this lot should be really saved by the IRQ code */ | ||
96 | static struct sleep_save irq_save[] = { | ||
97 | SAVE_ITEM(S3C2410_EXTINT0), | ||
98 | SAVE_ITEM(S3C2410_EXTINT1), | ||
99 | SAVE_ITEM(S3C2410_EXTINT2), | ||
100 | SAVE_ITEM(S3C2410_EINFLT0), | ||
101 | SAVE_ITEM(S3C2410_EINFLT1), | ||
102 | SAVE_ITEM(S3C2410_EINFLT2), | ||
103 | SAVE_ITEM(S3C2410_EINFLT3), | ||
104 | SAVE_ITEM(S3C2410_EINTMASK), | ||
105 | SAVE_ITEM(S3C2410_INTMSK) | ||
106 | }; | ||
107 | |||
108 | static struct sleep_save gpio_save[] = { | 92 | static struct sleep_save gpio_save[] = { |
109 | SAVE_ITEM(S3C2410_GPACON), | 93 | SAVE_ITEM(S3C2410_GPACON), |
110 | SAVE_ITEM(S3C2410_GPADAT), | 94 | SAVE_ITEM(S3C2410_GPADAT), |
@@ -564,7 +548,6 @@ static int s3c2410_pm_enter(suspend_state_t state) | |||
564 | /* save all necessary core registers not covered by the drivers */ | 548 | /* save all necessary core registers not covered by the drivers */ |
565 | 549 | ||
566 | s3c2410_pm_do_save(gpio_save, ARRAY_SIZE(gpio_save)); | 550 | s3c2410_pm_do_save(gpio_save, ARRAY_SIZE(gpio_save)); |
567 | s3c2410_pm_do_save(irq_save, ARRAY_SIZE(irq_save)); | ||
568 | s3c2410_pm_do_save(core_save, ARRAY_SIZE(core_save)); | 551 | s3c2410_pm_do_save(core_save, ARRAY_SIZE(core_save)); |
569 | s3c2410_pm_do_save(uart_save, ARRAY_SIZE(uart_save)); | 552 | s3c2410_pm_do_save(uart_save, ARRAY_SIZE(uart_save)); |
570 | 553 | ||
@@ -608,7 +591,6 @@ static int s3c2410_pm_enter(suspend_state_t state) | |||
608 | 591 | ||
609 | s3c2410_pm_do_restore_core(core_save, ARRAY_SIZE(core_save)); | 592 | s3c2410_pm_do_restore_core(core_save, ARRAY_SIZE(core_save)); |
610 | s3c2410_pm_do_restore(gpio_save, ARRAY_SIZE(gpio_save)); | 593 | s3c2410_pm_do_restore(gpio_save, ARRAY_SIZE(gpio_save)); |
611 | s3c2410_pm_do_restore(irq_save, ARRAY_SIZE(irq_save)); | ||
612 | s3c2410_pm_do_restore(uart_save, ARRAY_SIZE(uart_save)); | 594 | s3c2410_pm_do_restore(uart_save, ARRAY_SIZE(uart_save)); |
613 | 595 | ||
614 | s3c2410_pm_debug_init(); | 596 | s3c2410_pm_debug_init(); |