diff mbox

gpio: mvebu: Select REGMAP_MMIO now that regmap is used

Message ID 20170524143206.9727-1-gregory.clement@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gregory CLEMENT May 24, 2017, 2:32 p.m. UTC
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>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij May 29, 2017, 8:10 a.m. UTC | #1
On Wed, May 24, 2017 at 4:32 PM, Gregory CLEMENT
<gregory.clement@free-electrons.com> wrote:

> 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>

Patch applied.

Yours,
Linus Walleij
diff mbox

Patch

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