diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-19 01:55:36 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-03-05 04:37:10 -0500 |
commit | eb50cd0b2a083950457bf68241a9f040972b6908 (patch) | |
tree | 9d62a3e2120f92c661ac8d735a9abad925d764a7 | |
parent | 968f52148a6c182edc26a1df67d95e670ed488ce (diff) |
ARM: S5PV210: remove useless ifdef in common.h
The mach-s5pv210 should be complied with selecting CPU_S5PV210,
so the 'ifdef' in common.h is not required.
Reported-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-s5pv210/common.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-s5pv210/common.h b/arch/arm/mach-s5pv210/common.h index 6ed2af5c7518..0a1cc0aef720 100644 --- a/arch/arm/mach-s5pv210/common.h +++ b/arch/arm/mach-s5pv210/common.h | |||
@@ -20,18 +20,9 @@ void s5pv210_setup_clocks(void); | |||
20 | 20 | ||
21 | void s5pv210_restart(char mode, const char *cmd); | 21 | void s5pv210_restart(char mode, const char *cmd); |
22 | 22 | ||
23 | #ifdef CONFIG_CPU_S5PV210 | ||
24 | |||
25 | extern int s5pv210_init(void); | 23 | extern int s5pv210_init(void); |
26 | extern void s5pv210_map_io(void); | 24 | extern void s5pv210_map_io(void); |
27 | extern void s5pv210_init_clocks(int xtal); | 25 | extern void s5pv210_init_clocks(int xtal); |
28 | extern void s5pv210_init_uarts(struct s3c2410_uartcfg *cfg, int no); | 26 | extern void s5pv210_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
29 | 27 | ||
30 | #else | ||
31 | #define s5pv210_init_clocks NULL | ||
32 | #define s5pv210_init_uarts NULL | ||
33 | #define s5pv210_map_io NULL | ||
34 | #define s5pv210_init NULL | ||
35 | #endif | ||
36 | |||
37 | #endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */ | 28 | #endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */ |