diff options
Diffstat (limited to 'drivers/rtc/rtc-omap.c')
-rw-r--r-- | drivers/rtc/rtc-omap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index b0ba3fc991ea..c6ffbaec32a4 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c | |||
@@ -23,9 +23,7 @@ | |||
23 | #include <linux/of.h> | 23 | #include <linux/of.h> |
24 | #include <linux/of_device.h> | 24 | #include <linux/of_device.h> |
25 | #include <linux/pm_runtime.h> | 25 | #include <linux/pm_runtime.h> |
26 | 26 | #include <linux/io.h> | |
27 | #include <asm/io.h> | ||
28 | |||
29 | 27 | ||
30 | /* The OMAP1 RTC is a year/month/day/hours/minutes/seconds BCD clock | 28 | /* The OMAP1 RTC is a year/month/day/hours/minutes/seconds BCD clock |
31 | * with century-range alarm matching, driven by the 32kHz clock. | 29 | * with century-range alarm matching, driven by the 32kHz clock. |
@@ -423,6 +421,8 @@ static int __init omap_rtc_probe(struct platform_device *pdev) | |||
423 | * is write-only, and always reads as zero...) | 421 | * is write-only, and always reads as zero...) |
424 | */ | 422 | */ |
425 | 423 | ||
424 | device_init_wakeup(&pdev->dev, true); | ||
425 | |||
426 | if (new_ctrl & (u8) OMAP_RTC_CTRL_SPLIT) | 426 | if (new_ctrl & (u8) OMAP_RTC_CTRL_SPLIT) |
427 | pr_info("%s: split power mode\n", pdev->name); | 427 | pr_info("%s: split power mode\n", pdev->name); |
428 | 428 | ||