From: Beniamino Galvani Date: Wed, 26 Nov 2014 23:07:48 +0000 (+0100) Subject: spi: meson: Select REGMAP_MMIO X-Git-Tag: firefly_0821_release~176^2~2723^2~2^6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1327ecd47fe4e36bae6bcda55b3282c08193286a;p=firefly-linux-kernel-4.4.55.git 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 --- 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.