summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210/common.h')
-rw-r--r--arch/arm/mach-s5pv210/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/common.h b/arch/arm/mach-s5pv210/common.h
index fe1beb54e548..a2e85cb9b471 100644
--- a/arch/arm/mach-s5pv210/common.h
+++ b/arch/arm/mach-s5pv210/common.h
@@ -14,6 +14,15 @@
#include <linux/reboot.h>
+#ifdef CONFIG_COMMON_CLK_S5PV210
+void s5pv210_clk_init(unsigned long xxti_f, unsigned long xusbxti_f,
+ void __iomem *reg_base);
+#else
+static inline void s5pv210_clk_init(unsigned long xxti_f,
+ unsigned long xusbxti_f,
+ void __iomem *reg_base) {}
+#endif
+
void s5pv210_init_io(struct map_desc *mach_desc, int size);
void s5pv210_init_irq(void);