[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110814.224341.2228974983062837890.davem@davemloft.net>
Date: Sun, 14 Aug 2011 22:43:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shawn.guo@...aro.org
Cc: devicetree-discuss@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
grant.likely@...retlab.ca, patches@...aro.org
Subject: Re: [PATCH] dt: add of_alias_scan and of_alias_get_id
From: Shawn Guo <shawn.guo@...aro.org>
Date: Mon, 15 Aug 2011 09:30:17 +0800
> *allnextp = NULL;
>
> + /* Get pointer to "/chosen" and "/aliasas" nodes for use everywhere */
> + of_chosen = of_find_node_by_path("/chosen");
> + if (of_chosen == NULL)
> + of_chosen = of_find_node_by_path("/chosen@0");
> + of_aliases = of_find_node_by_path("/aliases");
> + of_alias_scan(dt_alloc);
> +
> pr_debug(" <- unflatten_device_tree()\n");
> }
You need to add invocations of the scan to other places in the
tree that build the in-kernel device tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists