3418ff7611
Make rtc-dev work well on 64-bit platforms with 32-bit userland. On those platforms, users might try to read 32-bit integer value. This patch make rtc-dev's read() work well for both "int" and "long" size. This tweak is came from genrtc driver. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
class.c | ||
hctosys.c | ||
interface.c | ||
Kconfig | ||
Makefile | ||
rtc-dev.c | ||
rtc-ds1672.c | ||
rtc-ep93xx.c | ||
rtc-lib.c | ||
rtc-m48t86.c | ||
rtc-pcf8563.c | ||
rtc-proc.c | ||
rtc-rs5c372.c | ||
rtc-sa1100.c | ||
rtc-sysfs.c | ||
rtc-test.c | ||
rtc-vr41xx.c | ||
rtc-x1205.c |