summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBeniamino Galvani <b.galvani@gmail.com>2014-11-27 00:07:48 +0100
committerMark Brown <broonie@kernel.org>2014-11-27 11:00:16 +0000
commit1327ecd47fe4e36bae6bcda55b3282c08193286a (patch)
treea91b3c30655036a133ecb574cd99a528ba458fc5 /drivers
parent008c2a2ef0af9a31a848948034d7d59b37f9a9e1 (diff)
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 <jim.epost@gmail.com> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 70f20b99e5f..9d277955b4d 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.