summaryrefslogtreecommitdiff
path: root/arch/mips/ralink
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2022-03-10 14:50:11 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-03-14 15:09:02 +0100
commitcd04d58e829dd074b0af1c1556c5130227f9f23a (patch)
tree7ac2e451502985f4dca5eb252e2f087ea5852b96 /arch/mips/ralink
parent89fa1268932420c64155bb4de9a9252a8c9e475d (diff)
downloadlwn-cd04d58e829dd074b0af1c1556c5130227f9f23a.tar.gz
lwn-cd04d58e829dd074b0af1c1556c5130227f9f23a.zip
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>
Diffstat (limited to 'arch/mips/ralink')
-rw-r--r--arch/mips/ralink/of.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c
index 35a87a2da10b..587c7b998769 100644
--- a/arch/mips/ralink/of.c
+++ b/arch/mips/ralink/of.c
@@ -48,11 +48,6 @@ __iomem void *plat_of_remap_node(const char *node)
return ioremap(res.start, resource_size(&res));
}
-void __init device_tree_init(void)
-{
- unflatten_and_copy_device_tree();
-}
-
void __init plat_mem_setup(void)
{
void *dtb;