diff options
Diffstat (limited to 'drivers/spi/mpc512x_psc_spi.c')
-rw-r--r-- | drivers/spi/mpc512x_psc_spi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/mpc512x_psc_spi.c b/drivers/spi/mpc512x_psc_spi.c index 2534b1ec3edd..10baac3f8ea5 100644 --- a/drivers/spi/mpc512x_psc_spi.c +++ b/drivers/spi/mpc512x_psc_spi.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/errno.h> | 20 | #include <linux/errno.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/of_address.h> | ||
22 | #include <linux/of_platform.h> | 23 | #include <linux/of_platform.h> |
23 | #include <linux/workqueue.h> | 24 | #include <linux/workqueue.h> |
24 | #include <linux/completion.h> | 25 | #include <linux/completion.h> |
@@ -440,6 +441,7 @@ static int __init mpc512x_psc_spi_do_probe(struct device *dev, u32 regaddr, | |||
440 | master->setup = mpc512x_psc_spi_setup; | 441 | master->setup = mpc512x_psc_spi_setup; |
441 | master->transfer = mpc512x_psc_spi_transfer; | 442 | master->transfer = mpc512x_psc_spi_transfer; |
442 | master->cleanup = mpc512x_psc_spi_cleanup; | 443 | master->cleanup = mpc512x_psc_spi_cleanup; |
444 | master->dev.of_node = dev->of_node; | ||
443 | 445 | ||
444 | tempp = ioremap(regaddr, size); | 446 | tempp = ioremap(regaddr, size); |
445 | if (!tempp) { | 447 | if (!tempp) { |