From: Antoine Tenart <antoine.tenart@free-electrons.com>
Date: Wed, 16 Apr 2014 07:46:34 +0000 (+0200)
Subject: ARM: berlin: add the LIBGPIO as a dependency for the BG2Q
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d45fa871c06762ab7e10ea4d889ab5be61d41ab1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ARM: berlin: add the LIBGPIO as a dependency for the BG2Q

The BG2Q has GPIOs driven by the dwapb GPIO driver. Add the LIBGPIO as a
dependency to be able to support them.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Reviewed-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---

diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig
index 9266ae38a5c1..95c098f497b5 100644
--- a/arch/arm/mach-berlin/Kconfig
+++ b/arch/arm/mach-berlin/Kconfig
@@ -1,5 +1,6 @@
 config ARCH_BERLIN
 	bool "Marvell Berlin SoCs" if ARCH_MULTI_V7
+	select ARCH_REQUIRE_GPIOLIB
 	select ARM_GIC
 	select GENERIC_IRQ_CHIP
 	select DW_APB_ICTL