linux/drivers/cpufreq
Larry Finger 1e15f29540 cpufreq / governor: Fix problem with cpufreq_ondemand or cpufreq_conservative
Since commit 2aacdff entitled "cpufreq: Move common part from governors
to separate file", whenever the drivers that depend on this new file
(cpufreq_ondemand or cpufreq_conservative) are built as modules, a new
module named cpufreq_governor is created because the Makefile includes
cpufreq_governor.o twice. As drivers/cpufreq/cpufreq_governor.c contains no
MODULE directives, the resulting module has no license specified, which
results in logging of a "module license 'unspecified' taints kernel". In
addition, a number of globals are exported GPL only, and are therefore
not available. This fix establishes a new boolean configuration variable
that forces cpufreq_governor.o to be linked into the kernel whenever
either cpufreq_ondemand or cpufreq_conservative is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-01-03 13:11:19 +01:00
..
acpi-cpufreq.c
cpufreq_conservative.c cpufreq: governors: remove redundant code 2012-11-15 00:33:07 +01:00
cpufreq_governor.c cpufreq: governors: Fix jiffies/cputime mixup (revisited) 2012-11-24 10:08:47 +01:00
cpufreq_governor.h cpufreq: Fix sparse warnings by updating cputime64_t to u64 2012-11-15 00:33:08 +01:00
cpufreq_ondemand.c cpufreq: ondemand: update sampling rate only on right CPUs 2012-11-27 14:11:19 +01:00
cpufreq_performance.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
cpufreq_powersave.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
cpufreq_stats.c cpufreq / stats: fix race between stats allocation and first usage 2013-01-03 13:11:18 +01:00
cpufreq_userspace.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
cpufreq-cpu0.c cpufreq: remove use of __devinit 2012-11-21 01:18:40 +01:00
cpufreq-nforce2.c
cpufreq.c cpufreq: Remove unnecessary initialization of a local variable 2012-11-15 00:33:09 +01:00
db8500-cpufreq.c cpufreq: db8500: Use armss clk to update frequency 2012-11-09 16:47:07 -08:00
e_powersaver.c
elanfreq.c
exynos4x12-cpufreq.c
exynos4210-cpufreq.c
exynos5250-cpufreq.c
exynos-cpufreq.c cpufreq: exynos: Use static for functions used in only this file 2012-11-22 00:19:25 +01:00
freq_table.c cpufreq: Improve debug prints 2012-11-15 00:33:06 +01:00
gx-suspmod.c
Kconfig cpufreq / governor: Fix problem with cpufreq_ondemand or cpufreq_conservative 2013-01-03 13:11:19 +01:00
Kconfig.arm cpufreq: SPEAr: Add CPUFreq driver 2012-11-27 14:05:26 +01:00
Kconfig.powerpc
Kconfig.x86
longhaul.c cpufreq / Longhaul: Disable driver by default 2013-01-03 13:11:18 +01:00
longhaul.h
longrun.c
Makefile cpufreq / governor: Fix problem with cpufreq_ondemand or cpufreq_conservative 2013-01-03 13:11:19 +01:00
maple-cpufreq.c
mperf.c
mperf.h
omap-cpufreq.c
p4-clockmod.c
pcc-cpufreq.c
powernow-k6.c
powernow-k7.c
powernow-k7.h
powernow-k8.c cpufreq: remove use of __devexit 2012-11-21 01:18:49 +01:00
powernow-k8.h
s3c64xx-cpufreq.c
s3c2416-cpufreq.c
s5pv210-cpufreq.c
sc520_freq.c
spear-cpufreq.c cpufreq: SPEAr: Add CPUFreq driver 2012-11-27 14:05:26 +01:00
speedstep-centrino.c
speedstep-ich.c
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c