projects
/
deliverable
/
linux.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.
[deliverable/linux.git]
/
drivers
/
sbus
/
char
/
envctrl.c
diff --git
a/drivers/sbus/char/envctrl.c
b/drivers/sbus/char/envctrl.c
index c6e2eff19409c6cd3cdf6c4bcbe75bd77cccc3fc..a5fe20faf4f778dc0535279a8178fc0c655d5ba4 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;
This page took
0.024868 seconds
and
5
git commands to generate.