提交 1327ecd4 编写于 作者: B Beniamino Galvani 提交者: 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: NJim Davis <jim.epost@gmail.com>
Signed-off-by: NBeniamino Galvani <b.galvani@gmail.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册