summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-cavium.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-07 21:40:33 +0300
committerMark Brown <broonie@kernel.org>2024-02-08 14:54:50 +0300
commit1747fbdedba8b6b3fd459895ed5d57e534549884 (patch)
treebabe0c08a246e2c3f7d415a7c71a4d6cad3707a1 /drivers/spi/spi-cavium.h
parent28e59d8bf1ace0ddf05f989a48d6824d75731267 (diff)
downloadlinux-1747fbdedba8b6b3fd459895ed5d57e534549884.tar.xz
spi: cavium: 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 this driver. 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/8aa122cffa6c8c18cc3367def872f81cd9471f2a.1707324794.git.u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-cavium.h')
-rw-r--r--drivers/spi/spi-cavium.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-cavium.h b/drivers/spi/spi-cavium.h
index 1f3ac463a20b..af53a0c31476 100644
--- a/drivers/spi/spi-cavium.h
+++ b/drivers/spi/spi-cavium.h
@@ -28,7 +28,7 @@ struct octeon_spi {
#define OCTEON_SPI_TX(x) (x->regs.tx)
#define OCTEON_SPI_DAT0(x) (x->regs.data)
-int octeon_spi_transfer_one_message(struct spi_master *master,
+int octeon_spi_transfer_one_message(struct spi_controller *ctlr,
struct spi_message *msg);
/* MPI register descriptions */