Skip to content

Commit

Permalink
MIPS: Remove unused dt_setup_arch()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Ralf Baechle committed Jan 16, 2015
1 parent e950324 commit 250215c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/mips/include/asm/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 250215c

Please sign in to comment.