diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/pm.c')
| -rw-r--r-- | arch/arm/mach-s3c24xx/pm.c | 20 | 
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/arm/mach-s3c24xx/pm.c b/arch/arm/mach-s3c24xx/pm.c index caa5b721138..b19256ec8d4 100644 --- a/arch/arm/mach-s3c24xx/pm.c +++ b/arch/arm/mach-s3c24xx/pm.c @@ -33,12 +33,13 @@  #include <linux/gpio.h>  #include <linux/interrupt.h>  #include <linux/serial_core.h> +#include <linux/serial_s3c.h>  #include <linux/io.h> -#include <plat/regs-serial.h>  #include <mach/regs-clock.h>  #include <mach/regs-gpio.h>  #include <mach/regs-irq.h> +#include <mach/gpio-samsung.h>  #include <asm/mach/time.h> @@ -50,9 +51,6 @@  #define PFX "s3c24xx-pm: "  static struct sleep_save core_save[] = { -	SAVE_ITEM(S3C2410_LOCKTIME), -	SAVE_ITEM(S3C2410_CLKCON), -  	/* we restore the timings here, with the proviso that the board  	 * brings the system up in an slower, or equal frequency setting  	 * to the original system. @@ -68,18 +66,6 @@ static struct sleep_save core_save[] = {  	SAVE_ITEM(S3C2410_BANKCON3),  	SAVE_ITEM(S3C2410_BANKCON4),  	SAVE_ITEM(S3C2410_BANKCON5), - -#ifndef CONFIG_CPU_FREQ -	SAVE_ITEM(S3C2410_CLKDIVN), -	SAVE_ITEM(S3C2410_MPLLCON), -	SAVE_ITEM(S3C2410_REFRESH), -#endif -	SAVE_ITEM(S3C2410_UPLLCON), -	SAVE_ITEM(S3C2410_CLKSLOW), -}; - -static struct sleep_save misc_save[] = { -	SAVE_ITEM(S3C2410_DCLKCON),  };  /* s3c_pm_check_resume_pin @@ -139,12 +125,10 @@ void s3c_pm_configure_extint(void)  void s3c_pm_restore_core(void)  {  	s3c_pm_do_restore_core(core_save, ARRAY_SIZE(core_save)); -	s3c_pm_do_restore(misc_save, ARRAY_SIZE(misc_save));  }  void s3c_pm_save_core(void)  { -	s3c_pm_do_save(misc_save, ARRAY_SIZE(misc_save));  	s3c_pm_do_save(core_save, ARRAY_SIZE(core_save));  }  | 
