aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-omap.c')
-rw-r--r--drivers/rtc/rtc-omap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c
index 6f6ac033d5d9..c6ffbaec32a4 100644
--- a/drivers/rtc/rtc-omap.c
+++ b/drivers/rtc/rtc-omap.c
@@ -421,6 +421,8 @@ static int __init omap_rtc_probe(struct platform_device *pdev)
421 * is write-only, and always reads as zero...) 421 * is write-only, and always reads as zero...)
422 */ 422 */
423 423
424 device_init_wakeup(&pdev->dev, true);
425
424 if (new_ctrl & (u8) OMAP_RTC_CTRL_SPLIT) 426 if (new_ctrl & (u8) OMAP_RTC_CTRL_SPLIT)
425 pr_info("%s: split power mode\n", pdev->name); 427 pr_info("%s: split power mode\n", pdev->name);
426 428