ARM: mmp: fix cpuid detection on mmp2
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Fri, 29 Oct 2010 03:32:56 +0000 (11:32 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Wed, 3 Nov 2010 15:11:16 +0000 (23:11 +0800)
Fix typo error on cpu_is_mmp2(). Correct cpu_readid_id() to
read_cpuid_id().  Append missing parenthesis.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-mmp/include/mach/cputype.h

index f43a68b..8a3b56d 100644 (file)
@@ -46,7 +46,8 @@ static inline int cpu_is_pxa910(void)
 #ifdef CONFIG_CPU_MMP2
 static inline int cpu_is_mmp2(void)
 {
-       return (((cpu_readid_id() >> 8) & 0xff) == 0x58);
+       return (((read_cpuid_id() >> 8) & 0xff) == 0x58);
+}
 #else
 #define cpu_is_mmp2()  (0)
 #endif