]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtc: add alarm/update irq interfaces
authorAlessandro Zummo <a.zummo@towertech.it>
Sun, 4 Jan 2009 20:00:54 +0000 (12:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Jan 2009 21:33:20 +0000 (13:33 -0800)
commit099e657625e801adf82054c8050dde5aceb68452
treed6c28df68ab390fa237b8339c6081e4db380aa5f
parent54566b2c1594c2326a645a3551f9d989f7ba3c5e
rtc: add alarm/update irq interfaces

Add standard interfaces for alarm/update irqs enabling.  Drivers are no
more required to implement equivalent ioctl code as rtc-dev will provide
it.

UIE emulation should now be handled correctly and will work even for those
RTC drivers who cannot be configured to do both UIE and AIE.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/Kconfig
drivers/rtc/interface.c
drivers/rtc/rtc-dev.c
include/linux/rtc.h