From: Kim, Milo Date: Fri, 5 Oct 2012 00:13:45 +0000 (-0700) Subject: rtc-proc: permit the /proc/driver/rtc device to use other devices X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~12^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92589c986b3360ce15d239fd5113a856412a0b3f;p=pandora-kernel.git rtc-proc: permit the /proc/driver/rtc device to use other devices To get time information via /proc/driver/rtc, only the first device (rtc0) is used. If the rtcN (eg. rtc1 or rtc2) is used for the system clock, there is no way to get information of rtcN via /proc/driver/rtc. With this patch, the time data can be retrieved from the system clock RTC. If the RTC_HCTOSYS_DEVICE is not defined, then rtc0 is used by default. Signed-off-by: Milo(Woogyom) Kim Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed