From 06c65eb45578c52d1bc69d044239646d4c90e7ea Mon Sep 17 00:00:00 2001 From: Bryan Kadzban Date: Tue, 16 Oct 2007 01:28:22 -0700 Subject: [PATCH] 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 Acked-by: Alessandro Zummo Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed