mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[POWERPC] macintosh/windfarm: Fix platform driver hotplug/coldplug
Since 43cc71eed1, the platform modalias
is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable
"macintosh" platform drivers, to re-enable auto loading.
[[email protected]: registration fixes]
Signed-off-by: Kay Sievers <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
df69869034
commit
23386fe572
3 changed files with 6 additions and 4 deletions
|
|
@ -668,7 +668,7 @@ static struct platform_driver wf_pm112_driver = {
|
|||
.remove = __devexit_p(wf_pm112_remove),
|
||||
.driver = {
|
||||
.name = "windfarm",
|
||||
.bus = &platform_bus_type,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
@ -711,3 +711,4 @@ module_exit(wf_pm112_exit);
|
|||
MODULE_AUTHOR("Paul Mackerras <[email protected]>");
|
||||
MODULE_DESCRIPTION("Thermal control for PowerMac11,2");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("platform:windfarm");
|
||||
|
|
|
|||
|
|
@ -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 <[email protected]>");
|
||||
MODULE_DESCRIPTION("Thermal control logic for iMac G5");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_ALIAS("platform:windfarm");
|
||||
|
|
|
|||
|
|
@ -702,7 +702,7 @@ static struct platform_driver wf_smu_driver = {
|
|||
.remove = __devexit_p(wf_smu_remove),
|
||||
.driver = {
|
||||
.name = "windfarm",
|
||||
.bus = &platform_bus_type,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
@ -742,3 +742,4 @@ MODULE_AUTHOR("Benjamin Herrenschmidt <[email protected]>");
|
|||
MODULE_DESCRIPTION("Thermal control logic for PowerMac9,1");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_ALIAS("platform:windfarm");
|
||||
|
|
|
|||
Loading…
Reference in a new issue