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/ _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev