From: Bryan Kadzban Date: Tue, 16 Oct 2007 08:28:22 +0000 (-0700) Subject: rtc: add max_user_freq to sysfs X-Git-Tag: v2.6.24-rc1~962 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06c65eb45578c52d1bc69d044239646d4c90e7ea;p=pandora-kernel.git 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-diff-tree failed