diff options
| author | Beniamino Galvani <b.galvani@gmail.com> | 2014-11-26 18:07:48 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2014-11-27 06:00:16 -0500 |
| commit | 1327ecd47fe4e36bae6bcda55b3282c08193286a (patch) | |
| tree | a91b3c30655036a133ecb574cd99a528ba458fc5 | |
| parent | 008c2a2ef0af9a31a848948034d7d59b37f9a9e1 (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>
| -rw-r--r-- | drivers/spi/Kconfig | 1 |
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 | |||
| 304 | config SPI_MESON_SPIFC | 304 | config SPI_MESON_SPIFC |
| 305 | tristate "Amlogic Meson SPIFC controller" | 305 | tristate "Amlogic Meson SPIFC controller" |
| 306 | depends on ARCH_MESON || COMPILE_TEST | 306 | depends on ARCH_MESON || COMPILE_TEST |
| 307 | select REGMAP_MMIO | ||
| 307 | help | 308 | help |
| 308 | This enables master mode support for the SPIFC (SPI flash | 309 | This enables master mode support for the SPIFC (SPI flash |
| 309 | controller) available in Amlogic Meson SoCs. | 310 | controller) available in Amlogic Meson SoCs. |
