Blob Blame History Raw
From: Gregory CLEMENT <gregory.clement@free-electrons.com>
Date: Wed, 24 May 2017 16:32:06 +0200
Subject: gpio: mvebu: Select REGMAP_MMIO now that regmap is used

Git-commit: f37e335f925968942c6f613fa17c57f625042f87
Patch-mainline: v4.13-rc1
References: fate#326470

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@intel.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f5e1b3d8baed..89e805fc5eba 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -329,6 +329,7 @@ config GPIO_MVEBU
 	depends on PLAT_ORION || ARCH_MVEBU
 	depends on OF_GPIO
 	select GENERIC_IRQ_CHIP
+	select REGMAP_MMIO
 
 config GPIO_MXC
 	def_bool y
-- 
2.11.0