From: John Stultz Date: Fri, 17 Jun 2011 01:27:09 +0000 (-0700) Subject: alarmtimers: Handle late rtc module loading X-Git-Tag: v3.0-rc5~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c008ba58af24dc5d0d8e9fe6e59d876910254761;p=pandora-kernel.git alarmtimers: Handle late rtc module loading The alarmtimers code currently picks a rtc device to use at late init time. However, if your rtc driver is loaded as a module, it may be registered after the alarmtimers late init code, leaving the alarmtimers nonfunctional. This patch moves the the rtcdevice selection to when we actually try to use it, allowing us to make use of rtc modules that may have been loaded at any point since bootup. CC: Thomas Gleixner CC: Meelis Roos Reported-by: Meelis Roos Signed-off-by: John Stultz --- Reading git-diff-tree failed