aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sh.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-03-19 06:14:41 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-03-20 05:57:35 -0400
commit7a8fe8e320251d25274e89f610ffee936769250a (patch)
tree9a3b42f9a4a4d872f602a415cae279421f4d8b57 /drivers/rtc/rtc-sh.c
parentedf22477dab5ff3be612af56ee4300ca63e11d06 (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/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)
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
760err_unmap: 761err_unmap: