diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-03-19 06:14:41 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-20 05:57:35 -0400 |
commit | 7a8fe8e320251d25274e89f610ffee936769250a (patch) | |
tree | 9a3b42f9a4a4d872f602a415cae279421f4d8b57 /drivers/rtc | |
parent | edf22477dab5ff3be612af56ee4300ca63e11d06 (diff) |
sh: sh-rtc wakeup support
Flag that the SuperH RTC supports wakeup.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-sh.c | 1 |
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) | |||
755 | rtc_set_time(rtc->rtc_dev, &r); | 755 | rtc_set_time(rtc->rtc_dev, &r); |
756 | } | 756 | } |
757 | 757 | ||
758 | device_init_wakeup(&pdev->dev, 1); | ||
758 | return 0; | 759 | return 0; |
759 | 760 | ||
760 | err_unmap: | 761 | err_unmap: |