]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S5PV210: remove useless ifdef in common.h
authorKukjin Kim <kgene.kim@samsung.com>
Sat, 19 Jan 2013 06:55:36 +0000 (22:55 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 5 Mar 2013 09:37:10 +0000 (18:37 +0900)
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>
arch/arm/mach-s5pv210/common.h

index 6ed2af5c75189a92cc702886ae88b87788ccf94b..0a1cc0aef7209af895b23a469e67911788f46cda 100644 (file)
@@ -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 */