aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/xilinx_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/xilinx_spi.c')
-rw-r--r--drivers/spi/xilinx_spi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c
index 1b47363cb73f..80f2db5bcfd6 100644
--- a/drivers/spi/xilinx_spi.c
+++ b/drivers/spi/xilinx_spi.c
@@ -390,6 +390,9 @@ struct spi_master *xilinx_spi_init(struct device *dev, struct resource *mem,
390 390
391 master->bus_num = bus_num; 391 master->bus_num = bus_num;
392 master->num_chipselect = pdata->num_chipselect; 392 master->num_chipselect = pdata->num_chipselect;
393#ifdef CONFIG_OF
394 master->dev.of_node = dev->of_node;
395#endif
393 396
394 xspi->mem = *mem; 397 xspi->mem = *mem;
395 xspi->irq = irq; 398 xspi->irq = irq;