diff options
| author | Bryan Kadzban <[email protected]> | 2007-10-16 01:28:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-16 09:43:13 -0700 |
| commit | 06c65eb45578c52d1bc69d044239646d4c90e7ea (patch) | |
| tree | 50d136607746d1a885ed8bb3757a3850faa28dd6 /include | |
| 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 <[email protected]>
Acked-by: Alessandro Zummo <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions