]> Pileus Git - ~andy/linux/blobdiff - drivers/serial/nwpserial.c
Merge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile...
[~andy/linux] / drivers / serial / nwpserial.c
index e1ab8ec0a4a64f86326494ee14112da85dc2d69b..3c02fa96f2825e119526752e9d8e127082cabdac 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;