aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-03-27 04:16:41 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:51 -0500
commite824290e5dcfaf2120da587b16d10dfdff8d5d3e (patch)
tree1cb9b7c49191082d28e7791217a841b3da1f3964 /drivers/rtc/Kconfig
parent728a294787b780130d8eb237518d4cac0afe760c (diff)
[PATCH] RTC subsystem: dev interface
Add the dev interface to the RTC subsystem. Each RTC will be available under /dev/rtcX . A symlink from /dev/rtc0 to /dev/rtc cab be obtained with the following udev rule: KERNEL=="rtc0", SYMLINK+="rtc" 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 200fb06b788a..8e4dc32058d6 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -62,6 +62,17 @@ config RTC_INTF_PROC
62 This driver can also be built as a module. If so, the module 62 This driver can also be built as a module. If so, the module
63 will be called rtc-proc. 63 will be called rtc-proc.
64 64
65config RTC_INTF_DEV
66 tristate "dev"
67 depends on RTC_CLASS
68 default RTC_CLASS
69 help
70 Say yes here if you want to use your RTC using the dev
71 interface, /dev/rtc .
72
73 This driver can also be built as a module. If so, the module
74 will be called rtc-dev.
75
65comment "RTC drivers" 76comment "RTC drivers"
66 depends on RTC_CLASS 77 depends on RTC_CLASS
67 78