From: Sebastian Andrzej Siewior <bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
To: Balaji T K <balajitk-l0cyMroinI0@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
cjb-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org
Subject: Re: [RFC] dt: export of_have_populated_dt
Date: Tue, 10 Apr 2012 19:36:15 +0200 [thread overview]
Message-ID: <4F846F8F.6090307@linutronix.de> (raw)
In-Reply-To: <1334070672-11252-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
On 04/10/2012 05:11 PM, Balaji T K wrote:
> If of_have_populated_dt is called from module, build fails with "allnodes"
> undefined error, so remove inline and export of_have_populated_dt.
Why do you need this function at all? You should not need it. *I*
introduced it because I need it early x86 setup code to figure out if
there a DT available or not. A driver should not care about it. You do
have your dev.of_node and this is it.
Sebastian
next prev parent reply other threads:[~2012-04-10 17:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-10 15:11 [RFC] dt: export of_have_populated_dt Balaji T K
2012-04-10 16:19 ` Cousson, Benoit
[not found] ` <4F845D99.7020705-l0cyMroinI0@public.gmane.org>
2012-04-10 16:21 ` Chris Ball
2012-04-10 16:29 ` Cousson, Benoit
2012-04-10 17:20 ` Rob Herring
2012-04-10 20:33 ` Grant Likely
2012-04-11 4:16 ` Rajendra Nayak
[not found] ` <1334070672-11252-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
2012-04-10 17:36 ` Sebastian Andrzej Siewior [this message]
2012-04-11 4:18 ` Rajendra Nayak
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=4F846F8F.6090307@linutronix.de \
--to=bigeasy-hfztesqfncyowbw4kg4ksq@public.gmane.org \
--cc=balajitk-l0cyMroinI0@public.gmane.org \
--cc=cjb-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.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;
as well as URLs for NNTP newsgroup(s).