* [PATCH] sh: sh-rtc wakeup support
@ 2009-03-19 10:14 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2009-03-19 10:14 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@igel.co.jp>
Flag that the SuperH RTC supports wakeup.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
drivers/rtc/rtc-sh.c | 1 +
1 file changed, 1 insertion(+)
--- 0009/drivers/rtc/rtc-sh.c
+++ work/drivers/rtc/rtc-sh.c 2009-03-19 18:40:53.000000000 +0900
@@ -755,6 +755,7 @@ static int __devinit sh_rtc_probe(struct
rtc_set_time(rtc->rtc_dev, &r);
}
+ device_init_wakeup(&pdev->dev, 1);
return 0;
err_unmap:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-19 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19 10:14 [PATCH] sh: sh-rtc wakeup support Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox