diff options
-rw-r--r-- | drivers/macintosh/windfarm_pm112.c | 3 | ||||
-rw-r--r-- | drivers/macintosh/windfarm_pm81.c | 4 | ||||
-rw-r--r-- | drivers/macintosh/windfarm_pm91.c | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/drivers/macintosh/windfarm_pm112.c b/drivers/macintosh/windfarm_pm112.c index b3fbb45bc90a..73d695dc9e50 100644 --- a/drivers/macintosh/windfarm_pm112.c +++ b/drivers/macintosh/windfarm_pm112.c | |||
@@ -668,7 +668,7 @@ static struct platform_driver wf_pm112_driver = { | |||
668 | .remove = __devexit_p(wf_pm112_remove), | 668 | .remove = __devexit_p(wf_pm112_remove), |
669 | .driver = { | 669 | .driver = { |
670 | .name = "windfarm", | 670 | .name = "windfarm", |
671 | .bus = &platform_bus_type, | 671 | .owner = THIS_MODULE, |
672 | }, | 672 | }, |
673 | }; | 673 | }; |
674 | 674 | ||
@@ -711,3 +711,4 @@ module_exit(wf_pm112_exit); | |||
711 | MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); | 711 | MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); |
712 | MODULE_DESCRIPTION("Thermal control for PowerMac11,2"); | 712 | MODULE_DESCRIPTION("Thermal control for PowerMac11,2"); |
713 | MODULE_LICENSE("GPL"); | 713 | MODULE_LICENSE("GPL"); |
714 | MODULE_ALIAS("platform:windfarm"); | ||
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"); | |
diff --git a/drivers/macintosh/windfarm_pm91.c b/drivers/macintosh/windfarm_pm91.c index 26eee69ebe6d..764c525b2117 100644 --- a/drivers/macintosh/windfarm_pm91.c +++ b/drivers/macintosh/windfarm_pm91.c | |||
@@ -702,7 +702,7 @@ static struct platform_driver wf_smu_driver = { | |||
702 | .remove = __devexit_p(wf_smu_remove), | 702 | .remove = __devexit_p(wf_smu_remove), |
703 | .driver = { | 703 | .driver = { |
704 | .name = "windfarm", | 704 | .name = "windfarm", |
705 | .bus = &platform_bus_type, | 705 | .owner = THIS_MODULE, |
706 | }, | 706 | }, |
707 | }; | 707 | }; |
708 | 708 | ||
@@ -742,3 +742,4 @@ MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); | |||
742 | MODULE_DESCRIPTION("Thermal control logic for PowerMac9,1"); | 742 | MODULE_DESCRIPTION("Thermal control logic for PowerMac9,1"); |
743 | MODULE_LICENSE("GPL"); | 743 | MODULE_LICENSE("GPL"); |
744 | 744 | ||
745 | MODULE_ALIAS("platform:windfarm"); | ||