Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sfr/ofcons
[linux-2.6.git] / arch / sparc64 / kernel / power.c
index 39f9f6494d4c2f5486ca8d108d23a7922af6efd6..b00feb01c16ffac14edc01483ded150aaf8a52f6 100644 (file)
@@ -112,6 +112,6 @@ static struct of_platform_driver power_driver = {
 
 void __init power_init(void)
 {
-       of_register_driver(&power_driver, &of_bus_type);
+       of_register_driver(&power_driver, &of_platform_bus_type);
        return;
 }