diff options
author | Bryan Kadzban <bryan@kdzbn.homelinux.net> | 2007-10-16 01:28:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:13 -0700 |
commit | 06c65eb45578c52d1bc69d044239646d4c90e7ea (patch) | |
tree | 50d136607746d1a885ed8bb3757a3850faa28dd6 /drivers/video/modedb.c | |
parent | 05440dfcfcabde6fcf7297dfa5a29f0355b78ffb (diff) |
rtc: add max_user_freq to sysfs
drivers/char/rtc.c exposed a sysctl to change the maximum frequency at
which a non-root user could ask the RTC to generate interrupts (via the
RTC_IRQP_SET ioctl). This value is no longer available under the new RTC
subsystem, so add it to sysfs for each RTC device.
Works for me on x86_64 (both reads and writes), using rtc-cmos.
Signed-off-by: Bryan Kadzban <bryan@kdzbn.homelinux.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/modedb.c')
0 files changed, 0 insertions, 0 deletions