diff options
Diffstat (limited to 'arch/arm/mach-exynos/common.h')
-rw-r--r-- | arch/arm/mach-exynos/common.h | 28 |
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 | ||
15 | extern struct sys_timer exynos4_timer; | ||
16 | |||
15 | void exynos_init_io(struct map_desc *mach_desc, int size); | 17 | void exynos_init_io(struct map_desc *mach_desc, int size); |
16 | void exynos4_init_irq(void); | 18 | void exynos4_init_irq(void); |
19 | void exynos4_restart(char mode, const char *cmd); | ||
17 | 20 | ||
18 | #ifdef CONFIG_ARCH_EXYNOS4 | 21 | #ifdef CONFIG_ARCH_EXYNOS4 |
19 | void exynos4_register_clocks(void); | 22 | void exynos4_register_clocks(void); |
20 | void exynos4_setup_clocks(void); | 23 | void exynos4_setup_clocks(void); |
21 | 24 | ||
22 | void exynos4210_register_clocks(void); | ||
23 | void 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 | ||
33 | void exynos4_restart(char mode, const char *cmd); | 30 | #ifdef CONFIG_CPU_EXYNOS4210 |
31 | void exynos4210_register_clocks(void); | ||
34 | 32 | ||
35 | extern 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 |
38 | extern int exynos_init(void); | 38 | void exynos4212_register_clocks(void); |
39 | extern void exynos4_map_io(void); | ||
40 | extern void exynos4_init_clocks(int xtal); | ||
41 | extern 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 */ |