summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-03-27 11:16:40 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 18:44:51 +0200
commit728a294787b780130d8eb237518d4cac0afe760c (patch)
treefd9b4b87dc963397bb3e4e8ed003b565353eef29 /drivers/rtc/Kconfig
parent[PATCH] RTC subsystem: sysfs interface (diff)
downloadlinux-728a294787b780130d8eb237518d4cac0afe760c.tar.xz
linux-728a294787b780130d8eb237518d4cac0afe760c.zip
[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
This driver can also be built as a module. If so, the module
will be called rtc-sysfs.
+config RTC_INTF_PROC
+ tristate "proc"
+ depends on RTC_CLASS && PROC_FS
+ default RTC_CLASS
+ help
+ Say yes here if you want to use your RTC using the proc
+ interface, /proc/driver/rtc .
+
+ This driver can also be built as a module. If so, the module
+ will be called rtc-proc.
+
comment "RTC drivers"
depends on RTC_CLASS