From: David Miller <davem@davemloft.net>
To: shawn.guo@linaro.org
Cc: devicetree-discuss@lists.ozlabs.org,
linux-kernel@vger.kernel.org, grant.likely@secretlab.ca,
patches@linaro.org
Subject: Re: [PATCH] dt: add of_alias_scan and of_alias_get_id
Date: Sun, 14 Aug 2011 22:43:41 -0700 (PDT) [thread overview]
Message-ID: <20110814.224341.2228974983062837890.davem@davemloft.net> (raw)
In-Reply-To: <1313371817-5135-1-git-send-email-shawn.guo@linaro.org>
From: Shawn Guo <shawn.guo@linaro.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.
next prev parent reply other threads:[~2011-08-15 5:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 1:30 Shawn Guo
2011-08-15 5:43 ` David Miller [this message]
2011-08-15 6:07 ` Shawn Guo
2011-08-15 6:05 ` David Miller
2011-08-15 6:36 ` Shawn Guo
2011-08-15 6:35 ` David Miller
2011-08-15 6:47 ` Shawn Guo
2011-08-15 6:45 ` Shawn Guo
2011-08-15 7:28 ` [PATCH v2] " Shawn Guo
2011-09-19 15:18 ` Shawn Guo
2011-09-21 20:35 ` Grant Likely
2011-09-21 20:46 [PATCH] " Grant Likely
2011-09-21 20:55 ` David Miller
2011-09-22 6:53 ` Shawn Guo
2011-09-22 17:06 ` Grant Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110814.224341.2228974983062837890.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@linaro.org \
--cc=shawn.guo@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®