projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffabc9a
)
of/spi: Fix build failure on spi_ppc4xx.c
author
Grant Likely
<
[email protected]
>
Wed, 26 May 2010 05:24:02 +0000
(23:24 -0600)
committer
Grant Likely
<
[email protected]
>
Wed, 2 Jun 2010 19:38:33 +0000
(13:38 -0600)
This patch fixes a build error caused by the OF device_node pointer
being moved into struct device.
Fixes bug introduced by commit
61c7a080a5a061c976988fd4b844dfb468dda255
(of: Always use 'struct device.of_node' to get device node pointer)
Signed-off-by: Grant Likely <
[email protected]
>
CC: Sean MacLennan <
[email protected]
>
CC:
[email protected]
CC:
[email protected]
drivers/spi/spi_ppc4xx.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi_ppc4xx.c
b/drivers/spi/spi_ppc4xx.c
index 19c0b3b34fce0160d7cb4d0b0c16f14d8143671d..d53466a249d9700bb9108478a5b08ffcf1955b6a 100644
(file)
--- a/
drivers/spi/spi_ppc4xx.c
+++ b/
drivers/spi/spi_ppc4xx.c
@@
-397,7
+397,7
@@
static int __init spi_ppc4xx_of_probe(struct of_device *op,
struct spi_master *master;
struct spi_bitbang *bbp;
struct resource resource;
- struct device_node *np = op->node;
+ struct device_node *np = op->
dev.of_
node;
struct device *dev = &op->dev;
struct device_node *opbnp;
int ret;