Changes to of_device ?

From
Guillaume Dargaud <hidden>
Date
2011-06-17 10:19:35
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/
Thread (8 messages) 8 messages, 4 authors, last reply 2011-06-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help