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

Commit 22059a90 authored by Michael Ellerman's avatar Michael Ellerman Committed by Paul Mackerras
Browse files

powerpc/pmac: Use of_find_node_with_property() in pmac_setup_arch()

parent ba82efbd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -310,9 +310,7 @@ static void __init pmac_setup_arch(void)
	}

	/* See if newworld or oldworld */
	for (ic = NULL; (ic = of_find_all_nodes(ic)) != NULL; )
		if (of_get_property(ic, "interrupt-controller", NULL))
			break;
	ic = of_find_node_with_property(NULL, "interrupt-controller");
	if (ic) {
		pmac_newworld = 1;
		of_node_put(ic);