diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-01-12 15:19:13 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-01-16 07:10:42 -0500 |
commit | 250215ccf6def938f7b4f037185b8277eb54bcda (patch) | |
tree | 670a204db1ecc6b35fd14fc09d3b31737fac07b0 | |
parent | e9503246a2c72dbdfce38668936faf8e52198bdb (diff) |
MIPS: Remove unused dt_setup_arch()
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8928/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/include/asm/prom.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h index eaa26270a5e5..8ebc2aa5f3e1 100644 --- a/arch/mips/include/asm/prom.h +++ b/arch/mips/include/asm/prom.h | |||
@@ -24,13 +24,6 @@ struct boot_param_header; | |||
24 | extern void __dt_setup_arch(void *bph); | 24 | extern void __dt_setup_arch(void *bph); |
25 | extern int __dt_register_buses(const char *bus0, const char *bus1); | 25 | extern int __dt_register_buses(const char *bus0, const char *bus1); |
26 | 26 | ||
27 | #define dt_setup_arch(sym) \ | ||
28 | ({ \ | ||
29 | extern char __dtb_##sym##_begin[]; \ | ||
30 | \ | ||
31 | __dt_setup_arch(__dtb_##sym##_begin); \ | ||
32 | }) | ||
33 | |||
34 | #else /* CONFIG_OF */ | 27 | #else /* CONFIG_OF */ |
35 | static inline void device_tree_init(void) { } | 28 | static inline void device_tree_init(void) { } |
36 | #endif /* CONFIG_OF */ | 29 | #endif /* CONFIG_OF */ |