From 1327ecd47fe4e36bae6bcda55b3282c08193286a Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 27 Nov 2014 00:07:48 +0100 Subject: [PATCH] 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: Jim Davis Signed-off-by: Beniamino Galvani Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 70f20b99e5ff..9d277955b4de 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -304,6 +304,7 @@ config SPI_FSL_ESPI config SPI_MESON_SPIFC tristate "Amlogic Meson SPIFC controller" depends on ARCH_MESON || COMPILE_TEST + select REGMAP_MMIO help This enables master mode support for the SPIFC (SPI flash controller) available in Amlogic Meson SoCs. -- 2.20.1