diff options
author | Grant Coady <gcoady@gmail.com> | 2005-11-21 21:32:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-22 09:13:44 -0800 |
commit | e738cf6d03786486b7e1adbaed1c5c4e14d23626 (patch) | |
tree | b929202b33a993a38110aec3722d8fee75406c32 /drivers/cpufreq | |
parent | 0bd0f9fb190a0fc0fb25b764c8b04869711f7657 (diff) | |
download | kernel_samsung_tuna-e738cf6d03786486b7e1adbaed1c5c4e14d23626.zip kernel_samsung_tuna-e738cf6d03786486b7e1adbaed1c5c4e14d23626.tar.gz kernel_samsung_tuna-e738cf6d03786486b7e1adbaed1c5c4e14d23626.tar.bz2 |
[PATCH] cpufreq: silence cpufreq for UP
drivers/cpufreq/cpufreq.c: In function `cpufreq_remove_dev':
drivers/cpufreq/cpufreq.c:696: warning: unused variable `cpu_sys_dev'
Signed-off-by: Grant Coady <gcoady@gmail.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 23a6320..1c0f62d 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -693,8 +693,8 @@ static int cpufreq_remove_dev (struct sys_device * sys_dev) unsigned int cpu = sys_dev->id; unsigned long flags; struct cpufreq_policy *data; - struct sys_device *cpu_sys_dev; #ifdef CONFIG_SMP + struct sys_device *cpu_sys_dev; unsigned int j; #endif |