Commit 40c911ed authored by Rob Herring's avatar Rob Herring Committed by Paul Burton

MIPS: netlogic: remove unnecessary of_platform_bus_probe call

The DT core code will probe "simple-bus" by default, so remove
the Netlogic specific call. The probing of simple-bus happens at
arch_initcall_sync, so the call being removed here is already a nop.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/19589/Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Cc: linux-kernel@vger.kernel.org
parent f072f9ce
...@@ -93,17 +93,3 @@ void __init device_tree_init(void) ...@@ -93,17 +93,3 @@ void __init device_tree_init(void)
{ {
unflatten_and_copy_device_tree(); unflatten_and_copy_device_tree();
} }
static struct of_device_id __initdata xlp_ids[] = {
{ .compatible = "simple-bus", },
{},
};
int __init xlp8xx_ds_publish_devices(void)
{
if (!of_have_populated_dt())
return 0;
return of_platform_bus_probe(NULL, xlp_ids, NULL);
}
device_initcall(xlp8xx_ds_publish_devices);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment