of/platform: remove all of_bus_type and of_platform_bus_type references
[pandora-kernel.git] / arch / sparc / kernel / time_32.c
index e404b06..5dc2021 100644 (file)
@@ -189,7 +189,7 @@ static struct of_platform_driver clock_driver = {
 /* Probe for the mostek real time clock chip. */
 static int __init clock_init(void)
 {
-       return of_register_driver(&clock_driver, &of_platform_bus_type);
+       return of_register_platform_driver(&clock_driver);
 }
 /* Must be after subsys_initcall() so that busses are probed.  Must
  * be before device_initcall() because things like the RTC driver