OSDN Git Service

MIPS: Remove redundant definitions of device_tree_init()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 10 Mar 2022 06:50:11 +0000 (14:50 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 14 Mar 2022 14:09:02 +0000 (15:09 +0100)
commitcd04d58e829dd074b0af1c1556c5130227f9f23a
tree7ac2e451502985f4dca5eb252e2f087ea5852b96
parent89fa1268932420c64155bb4de9a9252a8c9e475d
MIPS: Remove redundant definitions of device_tree_init()

There exists many same definitions of device_tree_init() for various
platforms, add a weak function in arch/mips/kernel/prom.c to clean
up the related code.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/ath79/setup.c
arch/mips/kernel/prom.c
arch/mips/lantiq/prom.c
arch/mips/loongson64/setup.c
arch/mips/mti-malta/Makefile
arch/mips/mti-malta/malta-dt.c [deleted file]
arch/mips/pic32/pic32mzda/init.c
arch/mips/ralink/of.c