diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/common.h')
-rw-r--r-- | arch/arm/mach-s3c24xx/common.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c24xx/common.h b/arch/arm/mach-s3c24xx/common.h index e46c10417216..ac3ff12a0601 100644 --- a/arch/arm/mach-s3c24xx/common.h +++ b/arch/arm/mach-s3c24xx/common.h | |||
@@ -67,16 +67,15 @@ extern struct syscore_ops s3c2416_irq_syscore_ops; | |||
67 | #if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442) | 67 | #if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442) |
68 | extern void s3c244x_map_io(void); | 68 | extern void s3c244x_map_io(void); |
69 | extern void s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no); | 69 | extern void s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
70 | extern void s3c244x_init_clocks(int xtal); | ||
71 | extern void s3c244x_restart(enum reboot_mode mode, const char *cmd); | 70 | extern void s3c244x_restart(enum reboot_mode mode, const char *cmd); |
72 | #else | 71 | #else |
73 | #define s3c244x_init_clocks NULL | ||
74 | #define s3c244x_init_uarts NULL | 72 | #define s3c244x_init_uarts NULL |
75 | #endif | 73 | #endif |
76 | 74 | ||
77 | #ifdef CONFIG_CPU_S3C2440 | 75 | #ifdef CONFIG_CPU_S3C2440 |
78 | extern int s3c2440_init(void); | 76 | extern int s3c2440_init(void); |
79 | extern void s3c2440_map_io(void); | 77 | extern void s3c2440_map_io(void); |
78 | extern void s3c2440_init_clocks(int xtal); | ||
80 | extern void s3c2440_init_irq(void); | 79 | extern void s3c2440_init_irq(void); |
81 | #else | 80 | #else |
82 | #define s3c2440_init NULL | 81 | #define s3c2440_init NULL |
@@ -86,6 +85,7 @@ extern void s3c2440_init_irq(void); | |||
86 | #ifdef CONFIG_CPU_S3C2442 | 85 | #ifdef CONFIG_CPU_S3C2442 |
87 | extern int s3c2442_init(void); | 86 | extern int s3c2442_init(void); |
88 | extern void s3c2442_map_io(void); | 87 | extern void s3c2442_map_io(void); |
88 | extern void s3c2442_init_clocks(int xtal); | ||
89 | extern void s3c2442_init_irq(void); | 89 | extern void s3c2442_init_irq(void); |
90 | #else | 90 | #else |
91 | #define s3c2442_init NULL | 91 | #define s3c2442_init NULL |
@@ -114,4 +114,21 @@ extern struct platform_device s3c2412_device_dma; | |||
114 | extern struct platform_device s3c2440_device_dma; | 114 | extern struct platform_device s3c2440_device_dma; |
115 | extern struct platform_device s3c2443_device_dma; | 115 | extern struct platform_device s3c2443_device_dma; |
116 | 116 | ||
117 | extern struct platform_device s3c2410_device_dclk; | ||
118 | |||
119 | #ifdef CONFIG_S3C2410_COMMON_CLK | ||
120 | void __init s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f, | ||
121 | int current_soc, | ||
122 | void __iomem *reg_base); | ||
123 | #endif | ||
124 | #ifdef CONFIG_S3C2412_COMMON_CLK | ||
125 | void __init s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f, | ||
126 | unsigned long ext_f, void __iomem *reg_base); | ||
127 | #endif | ||
128 | #ifdef CONFIG_S3C2443_COMMON_CLK | ||
129 | void __init s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f, | ||
130 | int current_soc, | ||
131 | void __iomem *reg_base); | ||
132 | #endif | ||
133 | |||
117 | #endif /* __ARCH_ARM_MACH_S3C24XX_COMMON_H */ | 134 | #endif /* __ARCH_ARM_MACH_S3C24XX_COMMON_H */ |