aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/irq.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-12-11 19:24:06 -0500
committerBen Dooks <ben-linux@fluff.org>2009-03-08 08:23:51 -0400
commit6419711a164ba1304fa8fbb75ae9485455e04dcd (patch)
tree15fe79b0ffff33d253258b849f1b69ac4c2c3bbe /arch/arm/plat-s3c24xx/irq.c
parenta3f66351b3cc89011e8a34068c245b413ce696d6 (diff)
[ARM] S3C: Move PM support functions to common location
Start moving the PM code by moving all the common support functions to a common location in arch/arm/plat-s3c. With the move we rename the functions from s3cxxx_ to s3c_ to fit the new location. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/irq.c')
-rw-r--r--arch/arm/plat-s3c24xx/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-s3c24xx/irq.c b/arch/arm/plat-s3c24xx/irq.c
index 0192ecdc1442..2fa8c9f4b354 100644
--- a/arch/arm/plat-s3c24xx/irq.c
+++ b/arch/arm/plat-s3c24xx/irq.c
@@ -616,7 +616,7 @@ int s3c24xx_irq_suspend(struct sys_device *dev, pm_message_t state)
616 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++) 616 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++)
617 save_eintflt[i] = __raw_readl(S3C24XX_EINFLT0 + (i*4)); 617 save_eintflt[i] = __raw_readl(S3C24XX_EINFLT0 + (i*4));
618 618
619 s3c2410_pm_do_save(irq_save, ARRAY_SIZE(irq_save)); 619 s3c_pm_do_save(irq_save, ARRAY_SIZE(irq_save));
620 save_eintmask = __raw_readl(S3C24XX_EINTMASK); 620 save_eintmask = __raw_readl(S3C24XX_EINTMASK);
621 621
622 return 0; 622 return 0;
@@ -632,7 +632,7 @@ int s3c24xx_irq_resume(struct sys_device *dev)
632 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++) 632 for (i = 0; i < ARRAY_SIZE(save_eintflt); i++)
633 __raw_writel(save_eintflt[i], S3C24XX_EINFLT0 + (i*4)); 633 __raw_writel(save_eintflt[i], S3C24XX_EINFLT0 + (i*4));
634 634
635 s3c2410_pm_do_restore(irq_save, ARRAY_SIZE(irq_save)); 635 s3c_pm_do_restore(irq_save, ARRAY_SIZE(irq_save));
636 __raw_writel(save_eintmask, S3C24XX_EINTMASK); 636 __raw_writel(save_eintmask, S3C24XX_EINTMASK);
637 637
638 return 0; 638 return 0;