Skip to content

Commit

Permalink
ARM: S5PC100: remove useless ifdef in common.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kukjin Kim committed Mar 5, 2013
1 parent 6dbe51c commit 968f521
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions arch/arm/mach-s5pc100/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 968f521

Please sign in to comment.