All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: of_match_table on non-DT builds
Date: Tue, 09 Nov 2010 09:27:10 -0600	[thread overview]
Message-ID: <4CD9684E.7080606@gmail.com> (raw)

Grant,

With the of_match_table pointer only enabled with CONFIG_OF in struct 
device_driver, all drivers will have to have #ifdefs around their 
of_match_table if you want to build them for non-devicetree platforms. 
This is just the tip of the iceberg as all probe related OF calls have 
to be ifdef'ed. Is this the intention?

Rob

             reply	other threads:[~2010-11-09 15:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 15:27 Rob Herring [this message]
     [not found] ` <4CD9684E.7080606-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-09 16:01   ` of_match_table on non-DT builds Grant Likely
     [not found]     ` <AANLkTi=11Jok3eujFwvji8ON1urcdeebCkJZgNrF=em5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-09 16:07       ` Greg KH

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=4CD9684E.7080606@gmail.com \
    --to=robherring2-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.