[PATCH] RTC: rtc-dev UIE emulation
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 25 Jun 2006 12:48:17 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:13 +0000 (10:01 -0700)
commit655066c3835e7b51794c4d56f042eb78b5a79f53
tree25d2a104d5c77c58994f3c96aa08bf83bd1f8116
parent1abb0dc92d706e8c73c7a62ca813738fe2259a7f
[PATCH] RTC: rtc-dev UIE emulation

Import genrtc's RTC UIE emulation (CONFIG_GEN_RTC_X) to rtc-dev driver with
slight adjustments/refinements.  This makes UIE-less rtc drivers work
better with programs doing read/poll on /dev/rtc, such as hwclock.  This
emulation should not harm rtc drivers with UIE support, since
rtc_dev_ioctl() calls underlaying rtc driver's ioctl() first.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/Kconfig
drivers/rtc/rtc-dev.c
include/linux/rtc.h