of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6] / drivers / sbus / char / display7seg.c
index 3e59189..7fc7f34 100644 (file)
@@ -216,7 +216,7 @@ static int __devinit d7s_probe(struct of_device *op,
        writeb(regs,  p->regs);
 
        printk(KERN_INFO PFX "7-Segment Display%s at [%s:0x%llx] %s\n",
-              op->node->full_name,
+              op->dev.of_node->full_name,
               (regs & D7S_FLIP) ? " (FLIPPED)" : "",
               op->resource[0].start,
               sol_compat ? "in sol_compat mode" : "");