mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
[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>
This commit is contained in:
committed by
Linus Torvalds
parent
c5c3e19225
commit
728a294787
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user