提交 968f5214 编写于 作者: K Kukjin Kim

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: NKukjin Kim <kgene.kim@samsung.com>
上级 6dbe51c2
...@@ -20,18 +20,9 @@ void s5pc100_setup_clocks(void); ...@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册