From: Guillaume Dargaud <dargaud@lpsc.in2p3.fr>
To: linuxppc-dev@ozlabs.org
Subject: Changes to of_device ?
Date: Fri, 17 Jun 2011 11:19:48 +0200 [thread overview]
Message-ID: <201106171119.48178.dargaud@lpsc.in2p3.fr> (raw)
A couple linux versions ago, I had the following working code in my driver:
static int xad_driver_probe(struct of_device* dev, const struct of_device_id *match) {
struct device_node *dn = dev->dev.of_node;
But now it won't compile and I can't figure out how to get the device_node structure from the of_device one ?
dev->dev is a struct device and there's no device_node info in it...
What has changed ?
[I'm on the latest Xilinx tree, FWIW, so that's 2.6.25 still ?]
--
Guillaume Dargaud
http://www.gdargaud.net/
next reply other threads:[~2011-06-17 10:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 9:19 Guillaume Dargaud [this message]
2011-06-17 10:55 ` Changes to of_device ? Philipp Ittershagen
2011-06-17 11:22 ` Guillaume Dargaud
2011-06-17 12:57 ` Philipp Ittershagen
2011-06-17 13:06 ` Philipp Ittershagen
2011-06-17 13:53 ` Guillaume Dargaud
2011-06-17 14:08 ` Grant Likely
2011-06-17 14:23 ` David Laight
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=201106171119.48178.dargaud@lpsc.in2p3.fr \
--to=dargaud@lpsc.in2p3.fr \
--cc=linuxppc-dev@ozlabs.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