Skip to content

Commit

Permalink
spi: meson: Select REGMAP_MMIO
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Beniamino Galvani <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
bengal authored and broonie committed Nov 27, 2014
1 parent 008c2a2 commit 1327ecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1327ecd

Please sign in to comment.