diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-03-19 11:14:41 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-20 10:57:35 +0100 |
commit | 7a8fe8e320251d25274e89f610ffee936769250a (patch) | |
tree | 9a3b42f9a4a4d872f602a415cae279421f4d8b57 /drivers/rtc | |
parent | sh: sh-rtc invalid time rework (diff) | |
download | linux-7a8fe8e320251d25274e89f610ffee936769250a.tar.xz linux-7a8fe8e320251d25274e89f610ffee936769250a.zip |
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-sh.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |