Commit 7a8fe8e3 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt

sh: sh-rtc wakeup support

Flag that the SuperH RTC supports wakeup.
Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent edf22477
...@@ -755,6 +755,7 @@ static int __devinit sh_rtc_probe(struct platform_device *pdev) ...@@ -755,6 +755,7 @@ static int __devinit sh_rtc_probe(struct platform_device *pdev)
rtc_set_time(rtc->rtc_dev, &r); rtc_set_time(rtc->rtc_dev, &r);
} }
device_init_wakeup(&pdev->dev, 1);
return 0; return 0;
err_unmap: err_unmap:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment