of: Always use 'struct device.of_node' to get device node pointer.
[deliverable/linux.git] / drivers / video / sunxvr1000.c
index 23e69e834a18de9b3e97056f5b6aebc85bea008f..ad92a200fafaa107221c540494b0f04cd3f0176a 100644 (file)
@@ -114,7 +114,7 @@ static int __devinit gfb_set_fbinfo(struct gfb_info *gp)
 static int __devinit gfb_probe(struct of_device *op,
                               const struct of_device_id *match)
 {
-       struct device_node *dp = op->node;
+       struct device_node *dp = op->dev.of_node;
        struct fb_info *info;
        struct gfb_info *gp;
        int err;
This page took 0.023333 seconds and 5 git commands to generate.