]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/macintosh/windfarm_pm81.c
[POWERPC] macintosh/windfarm: Fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / macintosh / windfarm_pm81.c
index f24fa734046a253d30a7a198c325e6538cc91539..abbe206474f58ce2ff1de53e274d6df7158b92f4 100644 (file)
@@ -770,7 +770,7 @@ static struct platform_driver wf_smu_driver = {
         .remove = __devexit_p(wf_smu_remove),
        .driver = {
                .name = "windfarm",
-               .bus = &platform_bus_type,
+               .owner  = THIS_MODULE,
        },
 };
 
@@ -810,4 +810,4 @@ module_exit(wf_smu_exit);
 MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
 MODULE_DESCRIPTION("Thermal control logic for iMac G5");
 MODULE_LICENSE("GPL");
-
+MODULE_ALIAS("platform:windfarm");