summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-xtensa-xtfpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-xtensa-xtfpga.c')
-rw-r--r--drivers/spi/spi-xtensa-xtfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-xtensa-xtfpga.c b/drivers/spi/spi-xtensa-xtfpga.c
index 3c77218943..3c2cda3153 100644
--- a/drivers/spi/spi-xtensa-xtfpga.c
+++ b/drivers/spi/spi-xtensa-xtfpga.c
@@ -93,7 +93,7 @@ static int xtfpga_spi_probe(struct platform_device *pdev)
host->dev.of_node = pdev->dev.of_node;
xspi = spi_controller_get_devdata(host);
- xspi->bitbang.master = host;
+ xspi->bitbang.ctlr = host;
xspi->bitbang.chipselect = xtfpga_spi_chipselect;
xspi->bitbang.txrx_word[SPI_MODE_0] = xtfpga_spi_txrx_word;
xspi->regs = devm_platform_ioremap_resource(pdev, 0);