diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-18 16:33:53 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-24 06:56:52 -0400 |
commit | 23386fe572028ca0f9249fb3c71ed31b54cf1665 (patch) | |
tree | 0a3908d6ad4f24fd1c30ec47b312138563ebc521 /drivers/macintosh/windfarm_pm81.c | |
parent | df698690341377c78a6c2e31fd116778dafb68d6 (diff) |
[POWERPC] macintosh/windfarm: Fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias
is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable
"macintosh" platform drivers, to re-enable auto loading.
[dbrownell@users.sourceforge.net: registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/windfarm_pm81.c')
-rw-r--r-- | drivers/macintosh/windfarm_pm81.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/windfarm_pm81.c b/drivers/macintosh/windfarm_pm81.c index f24fa734046a..abbe206474f5 100644 --- a/drivers/macintosh/windfarm_pm81.c +++ b/drivers/macintosh/windfarm_pm81.c | |||
@@ -770,7 +770,7 @@ static struct platform_driver wf_smu_driver = { | |||
770 | .remove = __devexit_p(wf_smu_remove), | 770 | .remove = __devexit_p(wf_smu_remove), |
771 | .driver = { | 771 | .driver = { |
772 | .name = "windfarm", | 772 | .name = "windfarm", |
773 | .bus = &platform_bus_type, | 773 | .owner = THIS_MODULE, |
774 | }, | 774 | }, |
775 | }; | 775 | }; |
776 | 776 | ||
@@ -810,4 +810,4 @@ module_exit(wf_smu_exit); | |||
810 | MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); | 810 | MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); |
811 | MODULE_DESCRIPTION("Thermal control logic for iMac G5"); | 811 | MODULE_DESCRIPTION("Thermal control logic for iMac G5"); |
812 | MODULE_LICENSE("GPL"); | 812 | MODULE_LICENSE("GPL"); |
813 | 813 | MODULE_ALIAS("platform:windfarm"); | |