diff options
Diffstat (limited to 'arch/sparc/kernel/time.c')
-rw-r--r-- | arch/sparc/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index 7b4612da74a6..f2fdbb3664d3 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c | |||
@@ -354,7 +354,7 @@ static struct of_platform_driver clock_driver = { | |||
354 | /* Probe for the mostek real time clock chip. */ | 354 | /* Probe for the mostek real time clock chip. */ |
355 | static int __init clock_init(void) | 355 | static int __init clock_init(void) |
356 | { | 356 | { |
357 | return of_register_driver(&clock_driver, &of_bus_type); | 357 | return of_register_driver(&clock_driver, &of_platform_bus_type); |
358 | } | 358 | } |
359 | 359 | ||
360 | /* Must be after subsys_initcall() so that busses are probed. Must | 360 | /* Must be after subsys_initcall() so that busses are probed. Must |