summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-11-08 14:22:19 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-11-08 14:22:19 +0800
commitad29adf4cdc6d0a68247697256fd6ef603b38658 (patch)
tree4b2b28a4c88ac7123f527073362b457120b20033 /arch
parentc7415c69455051f70bea913480f245809809029b (diff)
ENGR00230334-3 mx5x: refine the mxc_reset_block function declare
The mxc_reset_block function declaration is different between mx6 and mx5 arch. Acked-by: Lily Zhang Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/plat-mxc/include/mach/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h
index f5ffff604cb6..054cdfe21298 100755
--- a/arch/arm/plat-mxc/include/mach/common.h
+++ b/arch/arm/plat-mxc/include/mach/common.h
@@ -89,7 +89,11 @@ extern void mx51_efikamx_reset(void);
extern int mx53_revision(void);
extern int mx50_revision(void);
extern int mx53_display_revision(void);
+#ifdef CONFIG_ARCH_MX5
extern int mxs_reset_block(void __iomem *, int);
+#else
+extern int mxs_reset_block(void __iomem *);
+#endif
extern void early_console_setup(unsigned long base, struct clk *clk);
extern void mx6_cpu_regulator_init(void);
extern int mx6q_sabreauto_init_pfuze100(u32 int_gpio);