提交 7a8fe8e3 编写于 作者: M Magnus Damm 提交者: Paul Mundt

sh: sh-rtc wakeup support

Flag that the SuperH RTC supports wakeup.
Signed-off-by: NMagnus Damm <damm@igel.co.jp>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册