diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 07:44:42 +0100 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-01-04 07:44:42 +0100 |
commit | 0dfc84c9f54d8784f5bc6d303c079d88000ee5f7 (patch) | |
tree | c428a96e19f291d8f52e893ced78f99c2754a416 /arch/arm/mach-pxa/include/mach | |
parent | [ARM] pxa: update pwm_backlight->notify() to include missed 'struct device *' (diff) | |
download | linux-0dfc84c9f54d8784f5bc6d303c079d88000ee5f7.tar.xz linux-0dfc84c9f54d8784f5bc6d303c079d88000ee5f7.zip |
[ARM] pxa: fix compiler warnings of unused variable 'id' in cpu_is_pxa9*()
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/hardware.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h index 50f1297bf5ac..e741bf1bfb2d 100644 --- a/arch/arm/mach-pxa/include/mach/hardware.h +++ b/arch/arm/mach-pxa/include/mach/hardware.h @@ -250,20 +250,17 @@ #define cpu_is_pxa930() \ ({ \ - unsigned int id = read_cpuid(CPUID_ID); \ - __cpu_is_pxa930(id); \ + __cpu_is_pxa930(read_cpuid_id()); \ }) #define cpu_is_pxa935() \ ({ \ - unsigned int id = read_cpuid(CPUID_ID); \ - __cpu_is_pxa935(id); \ + __cpu_is_pxa935(read_cpuid_id()); \ }) #define cpu_is_pxa950() \ ({ \ - unsigned int id = read_cpuid(CPUID_ID); \ - __cpu_is_pxa950(id); \ + __cpu_is_pxa950(read_cpuid_id()); \ }) |