]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/serial/cpm_uart/cpm_uart_core.c
of: Always use 'struct device.of_node' to get device node pointer.
[net-next-2.6.git] / drivers / serial / cpm_uart / cpm_uart_core.c
index 300cea768d746939762afee7f42a8ad2cf5d06a1..7866cdf8a7547787b27b02ec4d7391b435210d30 100644 (file)
@@ -1342,7 +1342,7 @@ static int __devinit cpm_uart_probe(struct of_device *ofdev,
        /* initialize the device pointer for the port */
        pinfo->port.dev = &ofdev->dev;
 
-       ret = cpm_uart_init_port(ofdev->node, pinfo);
+       ret = cpm_uart_init_port(ofdev->dev.of_node, pinfo);
        if (ret)
                return ret;