[PATCH] RTC subsystem: dev interface
authorAlessandro Zummo <a.zummo@towertech.it>
Mon, 27 Mar 2006 09:16:41 +0000 (01:16 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:51 +0000 (08:44 -0800)
commite824290e5dcfaf2120da587b16d10dfdff8d5d3e
tree1cb9b7c49191082d28e7791217a841b3da1f3964
parent728a294787b780130d8eb237518d4cac0afe760c
[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>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-dev.c [new file with mode: 0644]