OSDN Git Service

of/platform: remove all of_bus_type and of_platform_bus_type references
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / arch / sparc / kernel / pci_schizo.c
index 9041dae..04f29c4 100644 (file)
@@ -1501,7 +1501,7 @@ static struct of_platform_driver schizo_driver = {
 
 static int __init schizo_init(void)
 {
-       return of_register_driver(&schizo_driver, &of_bus_type);
+       return of_register_platform_driver(&schizo_driver);
 }
 
 subsys_initcall(schizo_init);