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.h28
1 files changed, 11 insertions, 17 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 8c1efe692c20..b32c6b5f4231 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -12,39 +12,33 @@
12#ifndef __ARCH_ARM_MACH_EXYNOS_COMMON_H 12#ifndef __ARCH_ARM_MACH_EXYNOS_COMMON_H
13#define __ARCH_ARM_MACH_EXYNOS_COMMON_H 13#define __ARCH_ARM_MACH_EXYNOS_COMMON_H
14 14
15extern struct sys_timer exynos4_timer;
16
15void exynos_init_io(struct map_desc *mach_desc, int size); 17void exynos_init_io(struct map_desc *mach_desc, int size);
16void exynos4_init_irq(void); 18void exynos4_init_irq(void);
19void exynos4_restart(char mode, const char *cmd);
17 20
18#ifdef CONFIG_ARCH_EXYNOS4 21#ifdef CONFIG_ARCH_EXYNOS4
19void exynos4_register_clocks(void); 22void exynos4_register_clocks(void);
20void exynos4_setup_clocks(void); 23void exynos4_setup_clocks(void);
21 24
22void exynos4210_register_clocks(void);
23void exynos4212_register_clocks(void);
24
25#else 25#else
26#define exynos4_register_clocks() 26#define exynos4_register_clocks()
27#define exynos4_setup_clocks() 27#define exynos4_setup_clocks()
28
29#define exynos4210_register_clocks()
30#define exynos4212_register_clocks()
31#endif 28#endif
32 29
33void exynos4_restart(char mode, const char *cmd); 30#ifdef CONFIG_CPU_EXYNOS4210
31void exynos4210_register_clocks(void);
34 32
35extern struct sys_timer exynos4_timer; 33#else
34#define exynos4210_register_clocks()
35#endif
36 36
37#ifdef CONFIG_ARCH_EXYNOS 37#ifdef CONFIG_SOC_EXYNOS4212
38extern int exynos_init(void); 38void exynos4212_register_clocks(void);
39extern void exynos4_map_io(void);
40extern void exynos4_init_clocks(int xtal);
41extern void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no);
42 39
43#else 40#else
44#define exynos4_init_clocks NULL 41#define exynos4212_register_clocks()
45#define exynos4_init_uarts NULL
46#define exynos4_map_io NULL
47#define exynos_init NULL
48#endif 42#endif
49 43
50#endif /* __ARCH_ARM_MACH_EXYNOS_COMMON_H */ 44#endif /* __ARCH_ARM_MACH_EXYNOS_COMMON_H */