Skip to contentSkip to conversation

spi: meson: Select REGMAP_MMIO

PATCH Applied Beniamino Galvani 2 participants 2 messages Nov 26, 2014 – Nov 27, 2014 1 message not in the archive SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/Kconfig +1 -0
index 0373c37..400c344 100644
@@ -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.
Signature · 6 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1417043268-17563-1-git-send-email-b.galvani-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Applied
#2 lore raw
Quoted 2 lines · Beniamino Galvani

The Meson SPIFC driver uses regmap mmio functions and so it must select REGMAP_MMIO to avoid the following build error:

Applied, thanks.