aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-03-27 04:16:39 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:51 -0500
commitc5c3e19225217536d90515c494e55e642a21e4fa (patch)
tree64e0f52ca0056b3f3167e59dcfcb950d8e1f3249 /drivers/rtc/Kconfig
parentf7f3682fb2f8bc8a9c912baeea15454416ca1972 (diff)
[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 a256f67b78e..82449992048 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -40,6 +40,17 @@ config RTC_HCTOSYS_DEVICE
40comment "RTC interfaces" 40comment "RTC interfaces"
41 depends on RTC_CLASS 41 depends on RTC_CLASS
42 42
43config RTC_INTF_SYSFS
44 tristate "sysfs"
45 depends on RTC_CLASS && SYSFS
46 default RTC_CLASS
47 help
48 Say yes here if you want to use your RTC using the sysfs
49 interface, /sys/class/rtc/rtcX .
50
51 This driver can also be built as a module. If so, the module
52 will be called rtc-sysfs.
53
43comment "RTC drivers" 54comment "RTC drivers"
44 depends on RTC_CLASS 55 depends on RTC_CLASS
45 56