mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
e9503246a2
commit
250215ccf6
|
@ -24,13 +24,6 @@ struct boot_param_header;
|
|||
extern void __dt_setup_arch(void *bph);
|
||||
extern int __dt_register_buses(const char *bus0, const char *bus1);
|
||||
|
||||
#define dt_setup_arch(sym) \
|
||||
({ \
|
||||
extern char __dtb_##sym##_begin[]; \
|
||||
\
|
||||
__dt_setup_arch(__dtb_##sym##_begin); \
|
||||
})
|
||||
|
||||
#else /* CONFIG_OF */
|
||||
static inline void device_tree_init(void) { }
|
||||
#endif /* CONFIG_OF */
|
||||
|
|
Loading…
Reference in New Issue