]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/sparc/kernel/pmc.c
of/platform: remove all of_bus_type and of_platform_bus_type references
[net-next-2.6.git] / arch / sparc / kernel / pmc.c
index 9589d8b9b0c17eb59f5d0d2d1b66a94ac3fd655e..a4c73edc8975ed271fda13f859dc68fa03d95214 100644 (file)
@@ -89,7 +89,7 @@ static struct of_platform_driver pmc_driver = {
 
 static int __init pmc_init(void)
 {
-       return of_register_driver(&pmc_driver, &of_bus_type);
+       return of_register_platform_driver(&pmc_driver);
 }
 
 /* This driver is not critical to the boot process