aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-03-27 04:16:40 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:51 -0500
commit728a294787b780130d8eb237518d4cac0afe760c (patch)
treefd9b4b87dc963397bb3e4e8ed003b565353eef29 /drivers/rtc/Kconfig
parentc5c3e19225217536d90515c494e55e642a21e4fa (diff)
[PATCH] RTC subsystem: proc interface
Add the proc interface to the RTC subsystem. The first RTC driver which registers with the class will be accessible by /proc/driver/rtc . This is required for compatibility with the standard RTC driver and to avoid breaking any user space application which may erroneusly rely on this. Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> 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 824499920485..200fb06b788a 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -51,6 +51,17 @@ config RTC_INTF_SYSFS
51 This driver can also be built as a module. If so, the module 51 This driver can also be built as a module. If so, the module
52 will be called rtc-sysfs. 52 will be called rtc-sysfs.
53 53
54config RTC_INTF_PROC
55 tristate "proc"
56 depends on RTC_CLASS && PROC_FS
57 default RTC_CLASS
58 help
59 Say yes here if you want to use your RTC using the proc
60 interface, /proc/driver/rtc .
61
62 This driver can also be built as a module. If so, the module
63 will be called rtc-proc.
64
54comment "RTC drivers" 65comment "RTC drivers"
55 depends on RTC_CLASS 66 depends on RTC_CLASS
56 67