summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-sh.c')
-rw-r--r--drivers/rtc/rtc-sh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c
index 9ab660c28fee..4898f7fe8518 100644
--- a/drivers/rtc/rtc-sh.c
+++ b/drivers/rtc/rtc-sh.c
@@ -755,6 +755,7 @@ static int __devinit sh_rtc_probe(struct platform_device *pdev)
rtc_set_time(rtc->rtc_dev, &r);
}
+ device_init_wakeup(&pdev->dev, 1);
return 0;
err_unmap: