public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Changes to of_device ?
@ 2011-06-17  9:19 Guillaume Dargaud
  2011-06-17 10:55 ` Philipp Ittershagen
  0 siblings, 1 reply; 8+ messages in thread
From: Guillaume Dargaud @ 2011-06-17  9:19 UTC (permalink / raw)
  To: linuxppc-dev

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-17 14:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17  9:19 Changes to of_device ? Guillaume Dargaud
2011-06-17 10:55 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox