summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/pm.c
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-03-18 07:28:09 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-03-21 04:05:57 +0900
commitde7fe0807c08553b88028d039861a4b8ad04fc62 (patch)
tree9d8258db8bf587fc8280cc0a143518c8b9e8fd16 /arch/arm/mach-s3c64xx/pm.c
parent04241069617d4f0bfd9f4a3aeefae13e1e5b55e1 (diff)
downloadlinux-de7fe0807c08553b88028d039861a4b8ad04fc62.tar.bz2
ARM: SAMSUNG: Save UART DIVSLOT register based on SoC type
The only SoC that does not have DIVSLOT register is S3C2410, so instead of exporting a variable for platforms to set if DIVSLOT register should be preserved, it's enough to simply check whether we are running on a S3C2410 instead. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/pm.c')
-rw-r--r--arch/arm/mach-s3c64xx/pm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/pm.c b/arch/arm/mach-s3c64xx/pm.c
index b5a66986a529..6b37694fa335 100644
--- a/arch/arm/mach-s3c64xx/pm.c
+++ b/arch/arm/mach-s3c64xx/pm.c
@@ -332,7 +332,6 @@ static __init int s3c64xx_pm_initcall(void)
{
pm_cpu_prep = s3c64xx_pm_prepare;
pm_cpu_sleep = s3c64xx_cpu_suspend;
- pm_uart_udivslot = 1;
#ifdef CONFIG_S3C_PM_DEBUG_LED_SMDK
gpio_request(S3C64XX_GPN(12), "DEBUG_LED0");