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>
This commit is contained in:
parent
edf22477da
commit
7a8fe8e320
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user