diff options
author | John Stultz <[email protected]> | 2011-06-16 18:27:09 -0700 |
---|---|---|
committer | John Stultz <[email protected]> | 2011-06-21 15:38:33 -0700 |
commit | c008ba58af24dc5d0d8e9fe6e59d876910254761 (patch) | |
tree | 0e718ce49992b6a7dfde619cd6ebf05afe06ae12 /net/lapb/lapb_timer.c | |
parent | e08f6d4131ab964420f0bcabecc68d75fb49df79 (diff) |
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 <[email protected]>
CC: Meelis Roos <[email protected]>
Reported-by: Meelis Roos <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions