diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-05-02 19:54:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-09 18:18:14 +0100 |
commit | 307c897db762d1e0feee9477276b08f6deca4a5b (patch) | |
tree | 4e58400ff17e6d8ce8e9461cc37c2bc8d467e1d5 /drivers/spi/Kconfig | |
parent | 63cd96b70f9366f67048fbc07294ce5823001ded (diff) |
spi: spi-imx: replace struct spi_imx_data::bitbang by pointer to struct spi_controller
There's no need to embed the struct spi_bitbang into our private
data (struct spi_imx_data), the spi core is flexible enough, so that
we only need a pointer to the allocated struct spi_controller.
This is also a preparation patch to add PIO based polling support to
the driver.
Co-developed-by: David Jander <david@protonic.nl>
Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/r/20220502175457.1977983-8-mkl@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 9f09aff3cca1..f56fa715d4e7 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -414,7 +414,6 @@ config SPI_IMG_SPFI config SPI_IMX tristate "Freescale i.MX SPI controllers" depends on ARCH_MXC || COMPILE_TEST - select SPI_BITBANG help This enables support for the Freescale i.MX SPI controllers. |