summaryrefslogtreecommitdiff
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-03-27 13:16:39 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 20:44:51 +0400
commitc5c3e19225217536d90515c494e55e642a21e4fa (patch)
tree64e0f52ca0056b3f3167e59dcfcb950d8e1f3249 /drivers/rtc/Kconfig
parentf7f3682fb2f8bc8a9c912baeea15454416ca1972 (diff)
downloadlinux-c5c3e19225217536d90515c494e55e642a21e4fa.tar.xz
[PATCH] RTC subsystem: sysfs interface
This patch adds the sysfs interface to the RTC subsystem. Each RTC client will have his own entry under /sys/classs/rtc/rtcN . Within this entry some attributes are exported by the subsystem, like date and time. 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/Kconfig')
-rw-r--r--drivers/rtc/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index a256f67b78e4..824499920485 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -40,6 +40,17 @@ config RTC_HCTOSYS_DEVICE
comment "RTC interfaces"
depends on RTC_CLASS
+config RTC_INTF_SYSFS
+ tristate "sysfs"
+ depends on RTC_CLASS && SYSFS
+ default RTC_CLASS
+ help
+ Say yes here if you want to use your RTC using the sysfs
+ interface, /sys/class/rtc/rtcX .
+
+ This driver can also be built as a module. If so, the module
+ will be called rtc-sysfs.
+
comment "RTC drivers"
depends on RTC_CLASS