aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max77686.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-max77686.c')
-rw-r--r--drivers/rtc/rtc-max77686.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index 4bf32eb..a5c1c78 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -806,9 +806,11 @@ static int __devinit max77686_rtc_probe(struct platform_device *pdev)
#ifdef MAX77686_RTC_WTSR_SMPL
if (max77686->wtsr_smpl & MAX77686_WTSR_ENABLE)
max77686_rtc_enable_wtsr(info, true);
+#if !defined(CONFIG_TARGET_LOCALE_KOR)
if (max77686->wtsr_smpl & MAX77686_SMPL_ENABLE)
max77686_rtc_enable_smpl(info, true);
#endif
+#endif
device_init_wakeup(&pdev->dev, 1);