summaryrefslogtreecommitdiff
path: root/rules/rules.d/50-udev-default.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-21 13:48:55 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-12-21 13:48:55 +0100
commitf0bbea669698e474f5ec00c2ed6b4f10261a345d (patch)
tree1d9d3bd704fc919dd2a8363e21b1e5900aaebf94 /rules/rules.d/50-udev-default.rules
parentd4e0db3c5de9a4899c87a4cf09b74f8bdc764060 (diff)
rules: rtc - create rtc compat link only for cmos type rtc
Diffstat (limited to 'rules/rules.d/50-udev-default.rules')
-rw-r--r--rules/rules.d/50-udev-default.rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules
index 4576799175..da8437e01f 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -98,8 +98,7 @@ KERNEL=="microcode", NAME="cpu/microcode", MODE="0600"
# miscellaneous
KERNEL=="fuse", MODE="0666"
-KERNEL=="rtc|rtc0", MODE="0644"
-KERNEL=="rtc0", SYMLINK+="rtc"
+SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
KERNEL=="auer[0-9]*", NAME="usb/%k"
KERNEL=="hw_random", NAME="hwrng"
KERNEL=="mmtimer", MODE="0644"