Fix imx cpufreq driver as module
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Wed, 1 Dec 2010 08:37:17 +0000 (09:37 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 14 Dec 2010 08:54:38 +0000 (09:54 +0100)
commitbb477de2efc560e55c4a830329273661f3664bc8
tree7233c586062bce1ded7af2c8bf27ecf771dac494
parentcdc3f10630ecddb7870e087ff9679eef3d7b4e21
Fix imx cpufreq driver as module

When building as module:
ERROR: "cpufreq_gov_performance" [arch/arm/plat-mxc/cpufreq.ko] undefined!
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

It's due to the driver using CPUFREQ_DEFAULT_GOVERNOR, even it should not
(see commit 8122c6cea033e8034e99d3b10a4e3f377ce23994 in Linus tree), so
remove it.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/cpufreq.c