diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-07 21:40:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-08 14:54:48 +0300 |
commit | 2259233110d90059187c5ba75537eb93eba8417b (patch) | |
tree | b4b64c910a8cf98a331da6c4a0cca7a52ad630ea /include/linux/spi | |
parent | 85ad0ec049a771c4910c8aebb2d0bd9ce9311fd9 (diff) | |
download | linux-2259233110d90059187c5ba75537eb93eba8417b.tar.xz |
spi: bitbang: Follow renaming of SPI "master" to "controller"
In commit 8caab75fd2c2 ("spi: Generalize SPI "master" to "controller"")
some functions and struct members were renamed. To not break all drivers
compatibility macros were provided.
To be able to remove these compatibility macros push the renaming into
the SPI bitbang controller drivers.
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/f7f949feb803acb8bea75798f41371a13287f4e8.1707324794.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/spi_bitbang.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/spi/spi_bitbang.h b/include/linux/spi/spi_bitbang.h index 4444c2a992cb..b930eca2ef7b 100644 --- a/include/linux/spi/spi_bitbang.h +++ b/include/linux/spi/spi_bitbang.h @@ -10,7 +10,7 @@ struct spi_bitbang { u8 use_dma; u16 flags; /* extra spi->mode support */ - struct spi_master *master; + struct spi_controller *ctlr; /* setup_transfer() changes clock and/or wordsize to match settings * for this transfer; zeroes restore defaults from spi_device. |