diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-07-30 18:14:15 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-30 18:14:15 -0400 |
commit | a670fcb43f01a67ef56176afc76e5d43d128b25c (patch) | |
tree | 09c9411c78a33ff980e9ea871bc7686e7589abbf /drivers/cpufreq/cpufreq.c | |
parent | 327309e899662b482c58cf25f574513d38b5788c (diff) | |
parent | b0825488a642cadcf39709961dde61440cb0731c (diff) |
/spare/repo/netdev-2.6 branch 'master'
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-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, | |||
1130 | unsigned int target_freq, | 1130 | unsigned int target_freq, |
1131 | unsigned int relation) | 1131 | unsigned int relation) |
1132 | { | 1132 | { |
1133 | unsigned int ret; | 1133 | int ret; |
1134 | 1134 | ||
1135 | policy = cpufreq_cpu_get(policy->cpu); | 1135 | policy = cpufreq_cpu_get(policy->cpu); |
1136 | if (!policy) | 1136 | if (!policy) |
@@ -1151,7 +1151,7 @@ EXPORT_SYMBOL_GPL(cpufreq_driver_target); | |||
1151 | 1151 | ||
1152 | static int __cpufreq_governor(struct cpufreq_policy *policy, unsigned int event) | 1152 | static int __cpufreq_governor(struct cpufreq_policy *policy, unsigned int event) |
1153 | { | 1153 | { |
1154 | int ret = -EINVAL; | 1154 | int ret; |
1155 | 1155 | ||
1156 | if (!try_module_get(policy->governor->owner)) | 1156 | if (!try_module_get(policy->governor->owner)) |
1157 | return -EINVAL; | 1157 | return -EINVAL; |