aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/common.h')
-rw-r--r--arch/arm/mach-exynos/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 1ac49de0f398..8c1efe692c20 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -15,12 +15,21 @@
void exynos_init_io(struct map_desc *mach_desc, int size);
void exynos4_init_irq(void);
+#ifdef CONFIG_ARCH_EXYNOS4
void exynos4_register_clocks(void);
void exynos4_setup_clocks(void);
void exynos4210_register_clocks(void);
void exynos4212_register_clocks(void);
+#else
+#define exynos4_register_clocks()
+#define exynos4_setup_clocks()
+
+#define exynos4210_register_clocks()
+#define exynos4212_register_clocks()
+#endif
+
void exynos4_restart(char mode, const char *cmd);
extern struct sys_timer exynos4_timer;