]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/sparc/dbri.c
of/platform: remove all of_bus_type and of_platform_bus_type references
[karo-tx-linux.git] / sound / sparc / dbri.c
index 491ce71c84b60ee54b18a91d99ed53884d3c0d7b..c421901c48d0f40286da25ae42425e528afc8767 100644 (file)
@@ -2699,12 +2699,12 @@ static struct of_platform_driver dbri_sbus_driver = {
 /* Probe for the dbri chip and then attach the driver. */
 static int __init dbri_init(void)
 {
-       return of_register_driver(&dbri_sbus_driver, &of_bus_type);
+       return of_register_platform_driver(&dbri_sbus_driver);
 }
 
 static void __exit dbri_exit(void)
 {
-       of_unregister_driver(&dbri_sbus_driver);
+       of_unregister_platform_driver(&dbri_sbus_driver);
 }
 
 module_init(dbri_init);