Skip to content

Commit

Permalink
sh: sh-rtc wakeup support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Mar 20, 2009
1 parent edf2247 commit 7a8fe8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/rtc/rtc-sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7a8fe8e

Please sign in to comment.