summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-sh.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-03-19 10:14:41 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-03-20 18:57:35 +0900
commit7a8fe8e320251d25274e89f610ffee936769250a (patch)
tree9a3b42f9a4a4d872f602a415cae279421f4d8b57 /drivers/rtc/rtc-sh.c
parentedf22477dab5ff3be612af56ee4300ca63e11d06 (diff)
downloadop-kernel-dev-7a8fe8e320251d25274e89f610ffee936769250a.zip
op-kernel-dev-7a8fe8e320251d25274e89f610ffee936769250a.tar.gz
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 9ab660c..4898f7f 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:
OpenPOWER on IntegriCloud