of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6] / arch / sparc / kernel / auxio_64.c
index 9f52db2..bd8421a 100644 (file)
@@ -104,7 +104,7 @@ MODULE_DEVICE_TABLE(of, auxio_match);
 
 static int __devinit auxio_probe(struct of_device *dev, const struct of_device_id *match)
 {
-       struct device_node *dp = dev->node;
+       struct device_node *dp = dev->dev.of_node;
        unsigned long size;
 
        if (!strcmp(dp->parent->name, "ebus")) {