sh: sh-rtc wakeup support
authorMagnus Damm <damm@igel.co.jp>
Thu, 19 Mar 2009 10:14:41 +0000 (10:14 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Mar 2009 09:57:35 +0000 (18:57 +0900)
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>
drivers/rtc/rtc-sh.c

index 9ab660c..4898f7f 100644 (file)
@@ -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: