git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
256965d
)
gpio: mcp23s08: fix up compilation error
author
Linus Walleij
<linus.walleij@linaro.org>
Fri, 12 Dec 2014 10:22:11 +0000
(11:22 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 12 Dec 2014 10:22:11 +0000
(11:22 +0100)
The driver depends on the chip.of_node being present to compile,
which is the case on some target platforms but not others.
Instead, rely on chip.dev->of_node to be used, as struct device
always has an of_node in place.
Cc: Alexander Stein <alexander.stein@systec-electronic.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mcp23s08.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpio-mcp23s08.c
Simple merge