diff mbox

spi: meson: Select REGMAP_MMIO

Message ID 1417043268-17563-1-git-send-email-b.galvani@gmail.com (mailing list archive)
State Accepted
Commit 1327ecd47fe4e36bae6bcda55b3282c08193286a
Headers show

Commit Message

Beniamino Galvani Nov. 26, 2014, 11:07 p.m. UTC
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>
---
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Nov. 27, 2014, 11 a.m. UTC | #1
On Thu, Nov 27, 2014 at 12:07:48AM +0100, Beniamino Galvani wrote:
> The Meson SPIFC driver uses regmap mmio functions and so it must
> select REGMAP_MMIO to avoid the following build error:

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 0373c37..400c344 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -311,6 +311,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.