diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-04-29 11:42:27 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-04-30 01:37:25 -0400 |
commit | 6cd3209967469f6e89d329deda6bb0b4700e7b62 (patch) | |
tree | 35f099b364bf811b44fa11c7d71eaa7b22d264a1 /drivers/macintosh/windfarm_cpufreq_clamp.c | |
parent | a78a4a03a75466ff859d989a1a00110ebd0165b0 (diff) |
powerpc/powermac: New windfarm driver for PowerMac G5 (AGP) and Xserve G5
This replaces the old therm_pm72 using the same windfarm infrastructure
that was used for other PowerMac G5 models. The fan speeds and sensors
should now be visible in the same location in sysfs.
The driver is split into separate core modules for PowerMac7,2 (and 7,3)
and RackMac3,1, with a lot of the shared code now in the separate sensor
and control modules.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/macintosh/windfarm_cpufreq_clamp.c')
-rw-r--r-- | drivers/macintosh/windfarm_cpufreq_clamp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/macintosh/windfarm_cpufreq_clamp.c b/drivers/macintosh/windfarm_cpufreq_clamp.c index 1a77a7c97d0e..72d1fdfe02a5 100644 --- a/drivers/macintosh/windfarm_cpufreq_clamp.c +++ b/drivers/macintosh/windfarm_cpufreq_clamp.c | |||
@@ -75,12 +75,6 @@ static int __init wf_cpufreq_clamp_init(void) | |||
75 | { | 75 | { |
76 | struct wf_control *clamp; | 76 | struct wf_control *clamp; |
77 | 77 | ||
78 | /* Don't register on old machines that use therm_pm72 for now */ | ||
79 | if (of_machine_is_compatible("PowerMac7,2") || | ||
80 | of_machine_is_compatible("PowerMac7,3") || | ||
81 | of_machine_is_compatible("RackMac3,1")) | ||
82 | return -ENODEV; | ||
83 | |||
84 | clamp = kmalloc(sizeof(struct wf_control), GFP_KERNEL); | 78 | clamp = kmalloc(sizeof(struct wf_control), GFP_KERNEL); |
85 | if (clamp == NULL) | 79 | if (clamp == NULL) |
86 | return -ENOMEM; | 80 | return -ENOMEM; |