From f0bbea669698e474f5ec00c2ed6b4f10261a345d Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 21 Dec 2008 13:48:55 +0100 Subject: [PATCH] rules: rtc - create rtc compat link only for cmos type rtc --- rules/rules.d/50-udev-default.rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index 45767991..da8437e0 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" -- 2.39.5