git.openpandora.org
/
pandora-kernel.git
/ 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.
[pandora-kernel.git]
/
drivers
/
sbus
/
char
/
envctrl.c
diff --git
a/drivers/sbus/char/envctrl.c
b/drivers/sbus/char/envctrl.c
index
c6e2eff
..
a5fe20f
100644
(file)
--- a/
drivers/sbus/char/envctrl.c
+++ b/
drivers/sbus/char/envctrl.c
@@
-1043,7
+1043,7
@@
static int __devinit envctrl_probe(struct of_device *op,
return -ENOMEM;
index = 0;
- dp = op->node->child;
+ dp = op->
dev.of_
node->child;
while (dp) {
if (!strcmp(dp->name, "gpio")) {
i2c_childlist[index].i2ctype = I2C_GPIO;