diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-03-19 10:14:41 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-20 18:57:35 +0900 |
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 9ab660c28fe..4898f7fe851 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: |