]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe3992c2fd18870dc76ae8ae07cbb3b486e958ea
tree7ac2e451502985f4dca5eb252e2f087ea5852b96
parentd9a6c26d6ee8c04409391e4200524d60e8b2feeb
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