Commit 1327ecd4 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Mark Brown

spi: meson: Select REGMAP_MMIO

The Meson SPIFC driver uses regmap mmio functions and so it must
select REGMAP_MMIO to avoid the following build error:

spi-meson-spifc.c: undefined reference to `devm_regmap_init_mmio_clk'
Reported-by: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarBeniamino Galvani <b.galvani@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 008c2a2e
...@@ -304,6 +304,7 @@ config SPI_FSL_ESPI ...@@ -304,6 +304,7 @@ config SPI_FSL_ESPI
config SPI_MESON_SPIFC config SPI_MESON_SPIFC
tristate "Amlogic Meson SPIFC controller" tristate "Amlogic Meson SPIFC controller"
depends on ARCH_MESON || COMPILE_TEST depends on ARCH_MESON || COMPILE_TEST
select REGMAP_MMIO
help help
This enables master mode support for the SPIFC (SPI flash This enables master mode support for the SPIFC (SPI flash
controller) available in Amlogic Meson SoCs. controller) available in Amlogic Meson SoCs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment