summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-rb4xx.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-07-12 12:44:34 +0100
committerMark Brown <broonie@kernel.org>2023-07-12 12:44:34 +0100
commit64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc (patch)
treed8bf85fbd70aa93895af5b2d0b76e532ce753d7d /drivers/spi/spi-rb4xx.c
parent0f51622628190aa663ca23c46afbb7f500a35b71 (diff)
parent702ca0269ed56e2d8dae7874a4d8af268e2a382e (diff)
downloadlwn-64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc.tar.gz
lwn-64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc.zip
spi: Header and core clean up and refactoring
Merge series from Andy Shevchenko <andriy.shevchenko@linux.intel.com>: Various cleanups and refactorings of the SPI header and core parts united in a single series. It also touches drivers under SPI subsystem folder on the pure renaming purposes of some constants. No functional change intended.
Diffstat (limited to 'drivers/spi/spi-rb4xx.c')
-rw-r--r--drivers/spi/spi-rb4xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-rb4xx.c b/drivers/spi/spi-rb4xx.c
index 5073736d3d1f..c817889a7797 100644
--- a/drivers/spi/spi-rb4xx.c
+++ b/drivers/spi/spi-rb4xx.c
@@ -156,7 +156,7 @@ static int rb4xx_spi_probe(struct platform_device *pdev)
master->num_chipselect = 3;
master->mode_bits = SPI_TX_DUAL;
master->bits_per_word_mask = SPI_BPW_MASK(8);
- master->flags = SPI_MASTER_MUST_TX;
+ master->flags = SPI_CONTROLLER_MUST_TX;
master->transfer_one = rb4xx_transfer_one;
master->set_cs = rb4xx_set_cs;