diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-15 17:41:38 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-03-15 17:41:38 -0400 |
commit | a3fe14c69049750b7540c66e2a4abceb03815f65 (patch) | |
tree | 62dc31c2ba03ec23401281f9483152010f493827 | |
parent | 3cdb59d73ec63b42c49e43914c7de550d606159f (diff) | |
parent | eb50cd0b2a083950457bf68241a9f040972b6908 (diff) |
Merge branch 'next/cleanup-s5p' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/cleanup
From Kukjin Kim <kgene.kim@samsung.com>:
Two small cleanups for the s5p platforms.
* 'next/cleanup-s5p' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: S5PV210: remove useless ifdef in common.h
ARM: S5PC100: remove useless ifdef in common.h
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/mach-s5pc100/common.h | 9 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/common.h | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-s5pc100/common.h b/arch/arm/mach-s5pc100/common.h index 9fbd3ae2b401..c41f912e9e1f 100644 --- a/arch/arm/mach-s5pc100/common.h +++ b/arch/arm/mach-s5pc100/common.h | |||
@@ -20,18 +20,9 @@ void s5pc100_setup_clocks(void); | |||
20 | 20 | ||
21 | void s5pc100_restart(char mode, const char *cmd); | 21 | void s5pc100_restart(char mode, const char *cmd); |
22 | 22 | ||
23 | #ifdef CONFIG_CPU_S5PC100 | ||
24 | |||
25 | extern int s5pc100_init(void); | 23 | extern int s5pc100_init(void); |
26 | extern void s5pc100_map_io(void); | 24 | extern void s5pc100_map_io(void); |
27 | extern void s5pc100_init_clocks(int xtal); | 25 | extern void s5pc100_init_clocks(int xtal); |
28 | extern void s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no); | 26 | extern void s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
29 | 27 | ||
30 | #else | ||
31 | #define s5pc100_init_clocks NULL | ||
32 | #define s5pc100_init_uarts NULL | ||
33 | #define s5pc100_map_io NULL | ||
34 | #define s5pc100_init NULL | ||
35 | #endif | ||
36 | |||
37 | #endif /* __ARCH_ARM_MACH_S5PC100_COMMON_H */ | 28 | #endif /* __ARCH_ARM_MACH_S5PC100_COMMON_H */ |
diff --git a/arch/arm/mach-s5pv210/common.h b/arch/arm/mach-s5pv210/common.h index 6ed2af5c7518..0a1cc0aef720 100644 --- a/arch/arm/mach-s5pv210/common.h +++ b/arch/arm/mach-s5pv210/common.h | |||
@@ -20,18 +20,9 @@ void s5pv210_setup_clocks(void); | |||
20 | 20 | ||
21 | void s5pv210_restart(char mode, const char *cmd); | 21 | void s5pv210_restart(char mode, const char *cmd); |
22 | 22 | ||
23 | #ifdef CONFIG_CPU_S5PV210 | ||
24 | |||
25 | extern int s5pv210_init(void); | 23 | extern int s5pv210_init(void); |
26 | extern void s5pv210_map_io(void); | 24 | extern void s5pv210_map_io(void); |
27 | extern void s5pv210_init_clocks(int xtal); | 25 | extern void s5pv210_init_clocks(int xtal); |
28 | extern void s5pv210_init_uarts(struct s3c2410_uartcfg *cfg, int no); | 26 | extern void s5pv210_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
29 | 27 | ||
30 | #else | ||
31 | #define s5pv210_init_clocks NULL | ||
32 | #define s5pv210_init_uarts NULL | ||
33 | #define s5pv210_map_io NULL | ||
34 | #define s5pv210_init NULL | ||
35 | #endif | ||
36 | |||
37 | #endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */ | 28 | #endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */ |