rtc: rtc-sh: use set_irq_wake()
authorMagnus Damm <damm@igel.co.jp>
Wed, 1 Apr 2009 14:45:17 +0000 (14:45 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Apr 2009 02:21:17 +0000 (11:21 +0900)
commitfaa9fa8e448ba4c0a9d61778fd3cda1313bf1533
treefe47f6c4cc9a0a684519212daf8c839e70cd9984
parent4ba50df685e85b9d912a290d9614ffbeb4d9f060
rtc: rtc-sh: use set_irq_wake()

Modify the sh_rtc driver to use set_irq_wake() during suspend
and resume. These functions are used to enable the rtc interrupts
in the interrupt controller so the rtc can be used to wakeup the
system from suspend.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/rtc/rtc-sh.c