of/platform: remove all of_bus_type and of_platform_bus_type references
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / sparc / kernel / auxio_64.c
index ddc8412..46ba58a 100644 (file)
@@ -142,7 +142,7 @@ static struct of_platform_driver auxio_driver = {
 
 static int __init auxio_init(void)
 {
-       return of_register_driver(&auxio_driver, &of_platform_bus_type);
+       return of_register_platform_driver(&auxio_driver);
 }
 
 /* Must be after subsys_initcall() so that busses are probed.  Must