[PATCH] gpio: mvebu: Select REGMAP_MMIO now that regmap is used

Gregory CLEMENT gregory.clement at free-electrons.com
Wed May 24 07:32:06 PDT 2017


Since the commit "gpio: mvebu: switch to regmap for register access" the
driver use the regmap. Explicitly select the REGMAP_MMIO symbol to fix
build error.

Reported-by: kbuild test robot <fengguang.wu at intel.com>
Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 45ed9acfd095..68d9e6bde14d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -339,6 +339,7 @@ config GPIO_MVEBU
 	depends on PLAT_ORION
 	depends on OF_GPIO
 	select GENERIC_IRQ_CHIP
+	select REGMAP_MMIO
 
 config GPIO_MXC
 	def_bool y
-- 
2.11.0




More information about the linux-arm-kernel mailing list