windfarm_pm112.c (f0eef25339f92f7cd4aeea23d9ae97987a5a1e82) windfarm_pm112.c (23386fe572028ca0f9249fb3c71ed31b54cf1665)
1/*
2 * Windfarm PowerMac thermal control.
3 * Control loops for machines with SMU and PPC970MP processors.
4 *
5 * Copyright (C) 2005 Paul Mackerras, IBM Corp. <paulus@samba.org>
6 * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.
7 *
8 * Use and redistribute under the terms of the GNU GPL v2.

--- 654 unchanged lines hidden (view full) ---

663 return 0;
664}
665
666static struct platform_driver wf_pm112_driver = {
667 .probe = wf_pm112_probe,
668 .remove = __devexit_p(wf_pm112_remove),
669 .driver = {
670 .name = "windfarm",
1/*
2 * Windfarm PowerMac thermal control.
3 * Control loops for machines with SMU and PPC970MP processors.
4 *
5 * Copyright (C) 2005 Paul Mackerras, IBM Corp. <paulus@samba.org>
6 * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.
7 *
8 * Use and redistribute under the terms of the GNU GPL v2.

--- 654 unchanged lines hidden (view full) ---

663 return 0;
664}
665
666static struct platform_driver wf_pm112_driver = {
667 .probe = wf_pm112_probe,
668 .remove = __devexit_p(wf_pm112_remove),
669 .driver = {
670 .name = "windfarm",
671 .bus = &platform_bus_type,
671 .owner = THIS_MODULE,
672 },
673};
674
675static int __init wf_pm112_init(void)
676{
677 struct device_node *cpu;
678
679 if (!machine_is_compatible("PowerMac11,2"))

--- 26 unchanged lines hidden (view full) ---

706}
707
708module_init(wf_pm112_init);
709module_exit(wf_pm112_exit);
710
711MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>");
712MODULE_DESCRIPTION("Thermal control for PowerMac11,2");
713MODULE_LICENSE("GPL");
672 },
673};
674
675static int __init wf_pm112_init(void)
676{
677 struct device_node *cpu;
678
679 if (!machine_is_compatible("PowerMac11,2"))

--- 26 unchanged lines hidden (view full) ---

706}
707
708module_init(wf_pm112_init);
709module_exit(wf_pm112_exit);
710
711MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>");
712MODULE_DESCRIPTION("Thermal control for PowerMac11,2");
713MODULE_LICENSE("GPL");
714MODULE_ALIAS("platform:windfarm");