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_sabre.c
index 99c6dba..2d7bf30 100644 (file)
@@ -606,7 +606,7 @@ static struct of_platform_driver sabre_driver = {
 
 static int __init sabre_init(void)
 {
-       return of_register_driver(&sabre_driver, &of_bus_type);
+       return of_register_platform_driver(&sabre_driver);
 }
 
 subsys_initcall(sabre_init);