Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[linux-2.6-microblaze.git] / drivers / serial / nwpserial.c
index e1ab8ec..3c02fa9 100644 (file)
@@ -344,7 +344,7 @@ int nwpserial_register_port(struct uart_port *port)
 
        mutex_lock(&nwpserial_mutex);
 
-       dn = to_of_device(port->dev)->node;
+       dn = to_of_device(port->dev)->dev.of_node;
        if (dn == NULL)
                goto out;