]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 9ab660c28feebdd7f008ea38b306ef77ca381654..4898f7fe8518062f1beb60b9952fb3fba87a3de6 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: