diff options
Diffstat (limited to 'drivers/spi/spi_ppc4xx.c')
-rw-r--r-- | drivers/spi/spi_ppc4xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_ppc4xx.c b/drivers/spi/spi_ppc4xx.c index 19c0b3b34fce..d53466a249d9 100644 --- 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, | |||
397 | struct spi_master *master; | 397 | struct spi_master *master; |
398 | struct spi_bitbang *bbp; | 398 | struct spi_bitbang *bbp; |
399 | struct resource resource; | 399 | struct resource resource; |
400 | struct device_node *np = op->node; | 400 | struct device_node *np = op->dev.of_node; |
401 | struct device *dev = &op->dev; | 401 | struct device *dev = &op->dev; |
402 | struct device_node *opbnp; | 402 | struct device_node *opbnp; |
403 | int ret; | 403 | int ret; |