ARM: S5PC100: remove useless ifdef in common.h
The mach-s5pc100 should be complied with selecting CPU_S5PC100, so the 'ifdef' in common.h is not required. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Родитель
6dbe51c251
Коммит
968f52148a
|
@ -20,18 +20,9 @@ void s5pc100_setup_clocks(void);
|
||||||
|
|
||||||
void s5pc100_restart(char mode, const char *cmd);
|
void s5pc100_restart(char mode, const char *cmd);
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_S5PC100
|
|
||||||
|
|
||||||
extern int s5pc100_init(void);
|
extern int s5pc100_init(void);
|
||||||
extern void s5pc100_map_io(void);
|
extern void s5pc100_map_io(void);
|
||||||
extern void s5pc100_init_clocks(int xtal);
|
extern void s5pc100_init_clocks(int xtal);
|
||||||
extern void s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
extern void s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
||||||
|
|
||||||
#else
|
|
||||||
#define s5pc100_init_clocks NULL
|
|
||||||
#define s5pc100_init_uarts NULL
|
|
||||||
#define s5pc100_map_io NULL
|
|
||||||
#define s5pc100_init NULL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_MACH_S5PC100_COMMON_H */
|
#endif /* __ARCH_ARM_MACH_S5PC100_COMMON_H */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче