]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf545e308c9d580689a22164008573bfcac53548c
treefe47f6c4cc9a0a684519212daf8c839e70cd9984
parent5a8f47421a19c8f6fec6cd66874e7920158d019d
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