summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Makefile
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-03-27 01:16:37 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 08:44:51 -0800
commit0c86edc0d4970649f39748c4ce4f2895f728468f (patch)
treed4a4b0a45922fff8add243d14c8377eb902aa80a /drivers/rtc/Makefile
parent4079c39aaab65022f4875609d76e62669ef94c29 (diff)
downloadlinux-0c86edc0d4970649f39748c4ce4f2895f728468f.tar.gz
linux-0c86edc0d4970649f39748c4ce4f2895f728468f.tar.bz2
linux-0c86edc0d4970649f39748c4ce4f2895f728468f.zip
[PATCH] RTC subsystem: class
Add the basic RTC subsystem infrastructure to the kernel. rtc/class.c - registration facilities for RTC drivers rtc/interface.c - kernel/rtc interface functions rtc/hctosys.c - snippet of code that copies hw clock to sw clock at bootup, if configured to do so. Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/rtc/Makefile')
-rw-r--r--drivers/rtc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
index eb9ad77c3e95..7b87f3710dff 100644
--- a/drivers/rtc/Makefile
+++ b/drivers/rtc/Makefile
@@ -2,4 +2,7 @@
# Makefile for RTC class/drivers.
#
-obj-$(CONFIG_RTC_LIB) += rtc-lib.o
+obj-$(CONFIG_RTC_LIB) += rtc-lib.o
+obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o
+obj-$(CONFIG_RTC_CLASS) += rtc-core.o
+rtc-core-y := class.o interface.o