diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-29 19:16:25 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-29 19:16:25 +0200 |
commit | 33ac02aa4cef417871e128ab4a6565e751e5f3b2 (patch) | |
tree | 000243cf3b1477eafb09d86207fdf199ec7f142b /drivers | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input (diff) | |
parent | Fix up powernow-k8 compile. (Missing definitions). (diff) | |
download | linux-33ac02aa4cef417871e128ab4a6565e751e5f3b2.tar.xz linux-33ac02aa4cef417871e128ab4a6565e751e5f3b2.zip |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 7a7859dd0d98..10b014982381 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1130,7 +1130,7 @@ int cpufreq_driver_target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation) { - unsigned int ret; + int ret; policy = cpufreq_cpu_get(policy->cpu); if (!policy) @@ -1151,7 +1151,7 @@ EXPORT_SYMBOL_GPL(cpufreq_driver_target); static int __cpufreq_governor(struct cpufreq_policy *policy, unsigned int event) { - int ret = -EINVAL; + int ret; if (!try_module_get(policy->governor->owner)) return -EINVAL; |