Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] powerpc: windfarm shall request it's sub modules

The windfarm code, in it's current incarnation, uses request_module() to
load the various submodules it needs for a given platform so that only
the main platform control module needs to be modprobed. However, it was
missing various bits. This fixes it. In the future, we'll use some
hotplug mecanisms to try to get all of this auto-loaded on the platforms
where it matters but that isn't ready yet.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Benjamin Herrenschmidt and committed by
Linus Torvalds
d31e8171 9716a340

+13
+11
drivers/macintosh/windfarm_pm112.c
··· 685 685 ++nr_cores; 686 686 687 687 printk(KERN_INFO "windfarm: initializing for dual-core desktop G5\n"); 688 + 689 + #ifdef MODULE 690 + request_module("windfarm_smu_controls"); 691 + request_module("windfarm_smu_sensors"); 692 + request_module("windfarm_smu_sat"); 693 + request_module("windfarm_lm75_sensor"); 694 + request_module("windfarm_max6690_sensor"); 695 + request_module("windfarm_cpufreq_clamp"); 696 + 697 + #endif /* MODULE */ 698 + 688 699 platform_driver_register(&wf_pm112_driver); 689 700 return 0; 690 701 }
+1
drivers/macintosh/windfarm_pm81.c
··· 788 788 request_module("windfarm_smu_controls"); 789 789 request_module("windfarm_smu_sensors"); 790 790 request_module("windfarm_lm75_sensor"); 791 + request_module("windfarm_cpufreq_clamp"); 791 792 792 793 #endif /* MODULE */ 793 794 platform_driver_register(&wf_smu_driver);
+1
drivers/macintosh/windfarm_pm91.c
··· 719 719 request_module("windfarm_smu_controls"); 720 720 request_module("windfarm_smu_sensors"); 721 721 request_module("windfarm_lm75_sensor"); 722 + request_module("windfarm_cpufreq_clamp"); 722 723 723 724 #endif /* MODULE */ 724 725 platform_driver_register(&wf_smu_driver);