ARM: mmp&dove: modify tauros2_init call
authorChao Xie <xiechao.mail@gmail.com>
Tue, 31 Jul 2012 06:13:13 +0000 (14:13 +0800)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Thu, 16 Aug 2012 08:16:40 +0000 (16:16 +0800)
The tauros2_init has argument, change the calling of tauros2_init
to support argument.

Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-dove/common.c
arch/arm/mach-mmp/mmp2.c

index 4db5de54b6a7e1658639dc8888a79ec8cede8cc7..db399dfbe9058f99cb77f26f34b15be66784b73a 100644 (file)
@@ -288,7 +288,7 @@ void __init dove_init(void)
        printk(KERN_INFO "TCLK = %dMHz\n", (get_tclk() + 499999) / 1000000);
 
 #ifdef CONFIG_CACHE_TAUROS2
-       tauros2_init();
+       tauros2_init(0);
 #endif
        dove_setup_cpu_mbus();
 
index c709a24a9d256fceaab077914ccc0e8cffc7b634..c2bb95cf1a8250f15749e32a63c862f76bf97a57 100644 (file)
@@ -163,7 +163,7 @@ static int __init mmp2_init(void)
 {
        if (cpu_is_mmp2()) {
 #ifdef CONFIG_CACHE_TAUROS2
-               tauros2_init();
+               tauros2_init(0);
 #endif
                mfp_init_base(MFPR_VIRT_BASE);
                mfp_init_addr(mmp2_addr_map);