aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-davinci.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2023-07-12 11:44:34 +0000
committerMark Brown <[email protected]>2023-07-12 11:44:34 +0000
commit64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc (patch)
treed8bf85fbd70aa93895af5b2d0b76e532ce753d7d /drivers/spi/spi-davinci.c
parentAllwinner R329/D1/R528/T113s Dual/Quad SPI modes (diff)
parentspi: Fix spelling typos and acronyms capitalization (diff)
downloadkernel-64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc.tar.gz
kernel-64a7b0e08143cb68e589b8c47ee3e04d9ffff0bc.zip
spi: Header and core clean up and refactoring
Merge series from Andy Shevchenko <[email protected]>: 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-davinci.c')
-rw-r--r--drivers/spi/spi-davinci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c
index a85fd0cb4a5e..a3470cbaabdc 100644
--- a/drivers/spi/spi-davinci.c
+++ b/drivers/spi/spi-davinci.c
@@ -930,7 +930,7 @@ static int davinci_spi_probe(struct platform_device *pdev)
master->bus_num = pdev->id;
master->num_chipselect = pdata->num_chipselect;
master->bits_per_word_mask = SPI_BPW_RANGE_MASK(2, 16);
- master->flags = SPI_MASTER_MUST_RX | SPI_MASTER_GPIO_SS;
+ master->flags = SPI_CONTROLLER_MUST_RX | SPI_CONTROLLER_GPIO_SS;
master->setup = davinci_spi_setup;
master->cleanup = davinci_spi_cleanup;
master->can_dma = davinci_spi_can_dma;