Skip to content
Commit c008ba58 authored by John Stultz's avatar John Stultz
Browse files

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 <tglx@linutronix.de>
CC: Meelis Roos <mroos@ut.ee>
Reported-by: default avatarMeelis Roos <mroos@ut.ee>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent e08f6d41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment