diff options
| author | Linus Walleij <[email protected]> | 2014-12-12 10:22:11 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2014-12-12 10:22:11 +0000 |
| commit | 170680abd1eb98a9773ed068435fef9a6402a10f (patch) | |
| tree | ea9cea0e4e1a6e2b4cbc6ee85a25aaeeea0f6814 /drivers/tty/serial/sccnxp.c | |
| parent | gpio: pl061: document gpio-ranges property for bindings file (diff) | |
| download | kernel-170680abd1eb98a9773ed068435fef9a6402a10f.tar.gz kernel-170680abd1eb98a9773ed068435fef9a6402a10f.zip | |
gpio: mcp23s08: fix up compilation error
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 <[email protected]>
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
