[PATCH] powerpc: windfarm shall request it's sub modules
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 16 Nov 2006 03:00:57 +0000 (14:00 +1100)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 16 Nov 2006 03:57:12 +0000 (19:57 -0800)
commitd31e817183a4c1ee2e5fc0635ac075381f5c4419
tree31b688b967883c3ac6095e2eb7c4a2b2932f6a2d
parent9716a340310a383751a06589d0775fad04bd3f54
[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>
drivers/macintosh/windfarm_pm112.c
drivers/macintosh/windfarm_pm81.c
drivers/macintosh/windfarm_pm91.c