windfarm_pm81.c (f0eef25339f92f7cd4aeea23d9ae97987a5a1e82) | windfarm_pm81.c (23386fe572028ca0f9249fb3c71ed31b54cf1665) |
---|---|
1/* 2 * Windfarm PowerMac thermal control. iMac G5 3 * 4 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 * <benh@kernel.crashing.org> 6 * 7 * Released under the term of the GNU GPL v2. 8 * --- 756 unchanged lines hidden (view full) --- 765 return 0; 766} 767 768static struct platform_driver wf_smu_driver = { 769 .probe = wf_smu_probe, 770 .remove = __devexit_p(wf_smu_remove), 771 .driver = { 772 .name = "windfarm", | 1/* 2 * Windfarm PowerMac thermal control. iMac G5 3 * 4 * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp. 5 * <benh@kernel.crashing.org> 6 * 7 * Released under the term of the GNU GPL v2. 8 * --- 756 unchanged lines hidden (view full) --- 765 return 0; 766} 767 768static struct platform_driver wf_smu_driver = { 769 .probe = wf_smu_probe, 770 .remove = __devexit_p(wf_smu_remove), 771 .driver = { 772 .name = "windfarm", |
773 .bus = &platform_bus_type, | 773 .owner = THIS_MODULE, |
774 }, 775}; 776 777 778static int __init wf_smu_init(void) 779{ 780 int rc = -ENODEV; 781 --- 23 unchanged lines hidden (view full) --- 805 806 807module_init(wf_smu_init); 808module_exit(wf_smu_exit); 809 810MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); 811MODULE_DESCRIPTION("Thermal control logic for iMac G5"); 812MODULE_LICENSE("GPL"); | 774 }, 775}; 776 777 778static int __init wf_smu_init(void) 779{ 780 int rc = -ENODEV; 781 --- 23 unchanged lines hidden (view full) --- 805 806 807module_init(wf_smu_init); 808module_exit(wf_smu_exit); 809 810MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); 811MODULE_DESCRIPTION("Thermal control logic for iMac G5"); 812MODULE_LICENSE("GPL"); |
813 | 813MODULE_ALIAS("platform:windfarm"); |