of: Always use 'struct device.of_node' to get device node pointer.
[deliverable/linux.git] / drivers / serial / apbuart.c
index fe91319b5f65b30a15c5b89baea504c27871b6e6..52015d7031bb3a3dbba4824686b3243359f2e3a4 100644 (file)
@@ -559,7 +559,7 @@ static int __devinit apbuart_probe(struct of_device *op,
 
        i = 0;
        for (i = 0; i < grlib_apbuart_port_nr; i++) {
-               if (op->node == grlib_apbuart_nodes[i])
+               if (op->dev.of_node == grlib_apbuart_nodes[i])
                        break;
        }
 
This page took 0.040807 seconds and 5 git commands to generate.