aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-gpio.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-07-10 15:49:30 +0000
committerMark Brown <[email protected]>2023-07-11 13:12:56 +0000
commit82238d2cbd99ebd09dda48fb7c1c8802097da6a2 (patch)
treee10e4206c0cce9fb3ac3181ace5b1b8e4a16521a /drivers/spi/spi-gpio.c
parentspi: Get rid of old SPI_MASTER_MUST_TX & SPI_MASTER_MUST_RX (diff)
downloadkernel-82238d2cbd99ebd09dda48fb7c1c8802097da6a2.tar.gz
kernel-82238d2cbd99ebd09dda48fb7c1c8802097da6a2.zip
spi: Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SS
Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SS and convert the users to SPI_CONTROLLER_GPIO_SS to follow the new naming shema. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Serge Semin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
-rw-r--r--drivers/spi/spi-gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c
index 85e149ec2910..612db477ad12 100644
--- a/drivers/spi/spi-gpio.c
+++ b/drivers/spi/spi-gpio.c
@@ -434,7 +434,7 @@ static int spi_gpio_probe(struct platform_device *pdev)
* line, that we need to do on selection. This makes the local
* callback for chipselect always get called.
*/
- master->flags |= SPI_MASTER_GPIO_SS;
+ master->flags |= SPI_CONTROLLER_GPIO_SS;
bb->chipselect = spi_gpio_chipselect;
bb->set_line_direction = spi_gpio_set_direction;