summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scott <michael.scott@linaro.org>2016-10-21 19:56:08 +0200
committerAndy Gross <andy.gross@linaro.org>2016-11-13 06:24:26 +0100
commite19811a89d0f566bb781959e151f244bd3bcde8a (patch)
tree56824cb38e4be687942f3a9a51d4be29e40c0aa3
parentLinux 4.9-rc1 (diff)
downloadlinux-e19811a89d0f566bb781959e151f244bd3bcde8a.tar.xz
linux-e19811a89d0f566bb781959e151f244bd3bcde8a.zip
arm64: qcom: enable GPIOLIB in Kconfig
While debugging a kernel image size issue, I discovered that if all non ARCH_QCOM configs in the ARM64 defconfig are disabled, the QCOM pinctrl drivers will not be built. The QCOM pinctrl drivers have a dependency on GPIOLIB which was being selected when other ARCH configs were enabled, but ARCH_QCOM doesn't select GPIOLIB directly. Let's select GPIOLIB here to ensure the pinctrl drivers are built for QCOM platforms. Signed-off-by: Michael Scott <michael.scott@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r--arch/arm64/Kconfig.platforms1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index cfbdf02ef566..e9fc22645b7f 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -113,6 +113,7 @@ config ARCH_MVEBU
config ARCH_QCOM
bool "Qualcomm Platforms"
+ select GPIOLIB
select PINCTRL
help
This enables support for the ARMv8 based Qualcomm chipsets.