summaryrefslogtreecommitdiffstats
path: root/drivers/spi
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 12:00:16 +0100
commit1327ecd47fe4e36bae6bcda55b3282c08193286a (patch)
treea91b3c30655036a133ecb574cd99a528ba458fc5 /drivers/spi
parentspi: meson: meson_spifc_setup_speed() can be static (diff)
downloadlinux-1327ecd47fe4e36bae6bcda55b3282c08193286a.tar.xz
linux-1327ecd47fe4e36bae6bcda55b3282c08193286a.zip
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/spi')
-rw-r--r--drivers/spi/Kconfig1
1 files changed, 1 insertions, 0 deletions
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.