git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6]
/
drivers
/
serial
/
nwpserial.c
diff --git
a/drivers/serial/nwpserial.c
b/drivers/serial/nwpserial.c
index
e1ab8ec
..
3c02fa9
100644
(file)
--- a/
drivers/serial/nwpserial.c
+++ b/
drivers/serial/nwpserial.c
@@
-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;