diff options
Diffstat (limited to 'arch/sh/kernel/time_32.c')
-rw-r--r-- | arch/sh/kernel/time_32.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/kernel/time_32.c b/arch/sh/kernel/time_32.c index c34e1e0f9b02..04b8c6ab1667 100644 --- a/arch/sh/kernel/time_32.c +++ b/arch/sh/kernel/time_32.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
18 | #include <linux/clockchips.h> | 18 | #include <linux/clockchips.h> |
19 | #include <linux/mc146818rtc.h> /* for rtc_lock */ | 19 | #include <linux/mc146818rtc.h> /* for rtc_lock */ |
20 | #include <linux/platform_device.h> | ||
20 | #include <linux/smp.h> | 21 | #include <linux/smp.h> |
21 | #include <asm/clock.h> | 22 | #include <asm/clock.h> |
22 | #include <asm/rtc.h> | 23 | #include <asm/rtc.h> |
@@ -229,6 +230,14 @@ void __init time_init(void) | |||
229 | #endif | 230 | #endif |
230 | 231 | ||
231 | /* | 232 | /* |
233 | * Make sure all compiled-in early timers register themselves. | ||
234 | * Run probe() for one "earlytimer" device. | ||
235 | */ | ||
236 | early_platform_driver_register_all("earlytimer"); | ||
237 | if (early_platform_driver_probe("earlytimer", 1, 0)) | ||
238 | return; | ||
239 | |||
240 | /* | ||
232 | * Find the timer to use as the system timer, it will be | 241 | * Find the timer to use as the system timer, it will be |
233 | * initialized for us. | 242 | * initialized for us. |
234 | */ | 243 | */ |