From: Magnus Damm Date: Thu, 19 Mar 2009 10:14:41 +0000 (+0000) Subject: sh: sh-rtc wakeup support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a8fe8e320251d25274e89f610ffee936769250a;p=linux-beck.git sh: sh-rtc wakeup support Flag that the SuperH RTC supports wakeup. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index 9ab660c28fee..4898f7fe8518 100644 --- a/drivers/rtc/rtc-sh.c +++ b/drivers/rtc/rtc-sh.c @@ -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: