Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f072f9ce authored by Rob Herring's avatar Rob Herring Committed by Paul Burton
Browse files

MIPS: octeon: use of_platform_populate to probe devices



of_platform_bus_probe is deprecated in favor of of_platform_populate.
of_platform_populate is stricter requiring compatible properties for
matching rather than name or type. Octeon uses compatible strings for
matching, so convert it to of_platform_populate.

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/19588/


Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Cc: linux-kernel@vger.kernel.org
parent c8bf3805
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1067,6 +1067,6 @@ int __init octeon_prune_device_tree(void)

static int __init octeon_publish_devices(void)
{
	return of_platform_bus_probe(NULL, octeon_ids, NULL);
	return of_platform_populate(NULL, octeon_ids, NULL, NULL);
}
arch_initcall(octeon_publish_devices);