ARM: S5PC100: remove useless ifdef in common.h
Subsystems (3)
PATCH 1/2 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 <[email protected]>
--- arch/arm/mach-s5pc100/common.h | 9 --------- 1 file changed, 9 deletions(-)
arch/arm/mach-s5pc100/common.h +0 -9
@@ -20,18 +20,9 @@ void s5pc100_setup_clocks(void);void s5pc100_restart (char mode,const char *cmd); -#ifdef CONFIG_CPU_S5PC100 -extern int s5pc100_init (void );extern void s5pc100_map_io (void );extern void s5pc100_init_clocks (int xtal);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 */
Signature · 1 line
1.7.10.4
PATCH 2/2 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 <[email protected]>
Signed-off-by Kukjin Kim <[email protected]>
--- arch/arm/mach-s5pv210/common.h | 9 --------- 1 file changed, 9 deletions(-)
arch/arm/mach-s5pv210/common.h +0 -9
@@ -20,18 +20,9 @@ void s5pv210_setup_clocks(void);void s5pv210_restart (char mode,const char *cmd); -#ifdef CONFIG_CPU_S5PV210 -extern int s5pv210_init (void );extern void s5pv210_map_io (void );extern void s5pv210_init_clocks (int xtal);extern void s5pv210_init_uarts (struct s3c2410_uartcfg *cfg,int no); -#else -#define s5pv210_init_clocks NULL -#define s5pv210_init_uarts NULL -#define s5pv210_map_io NULL -#define s5pv210_init NULL -#endif -#endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */
Signature · 1 line
1.7.10.4