aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c24xx/include/plat
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-12-12 00:24:23 +0000
committerBen Dooks <ben-linux@fluff.org>2009-05-07 11:04:55 +0100
commit57699e9adf1b44f281d808609b47816804763bfa (patch)
tree61e2932babbbee5ae2c4ccb70554ee366da03fc5 /arch/arm/plat-s3c24xx/include/plat
parent67b3e542ab1cf9f2fe3c1d4ae2aa16dd3b4a7e24 (diff)
downloadkernel_samsung_smdk4412-57699e9adf1b44f281d808609b47816804763bfa.zip
kernel_samsung_smdk4412-57699e9adf1b44f281d808609b47816804763bfa.tar.gz
kernel_samsung_smdk4412-57699e9adf1b44f281d808609b47816804763bfa.tar.bz2
[ARM] S3C: Add debug to UART save and a per-arch callback pre-restore
Add a simple debug message on saving the UART state and add a per-arch pre-restore function to be used by the s3c64xx restore code to ensure the UARTs control registers do not go through any illegal state changes. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/include/plat')
-rw-r--r--arch/arm/plat-s3c24xx/include/plat/pm-core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/pm-core.h b/arch/arm/plat-s3c24xx/include/plat/pm-core.h
index c758821..fb45dd9 100644
--- a/arch/arm/plat-s3c24xx/include/plat/pm-core.h
+++ b/arch/arm/plat-s3c24xx/include/plat/pm-core.h
@@ -57,3 +57,8 @@ static inline void s3c_pm_arch_show_resume_irqs(void)
s3c_pm_show_resume_irqs(IRQ_EINT4-4, __raw_readl(S3C2410_EINTPEND),
s3c_irqwake_eintmask);
}
+
+static inline void s3c_pm_arch_update_uart(void __iomem *regs,
+ struct pm_uart_save *save)
+{
+}