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
/
apbuart.c
diff --git
a/drivers/serial/apbuart.c
b/drivers/serial/apbuart.c
index
fe91319
..
52015d7
100644
(file)
--- a/
drivers/serial/apbuart.c
+++ b/
drivers/serial/apbuart.c
@@
-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;
}