* [PATCH] arm64: qcom: enable GPIOLIB in Kconfig
@ 2016-10-21 17:56 Michael Scott
2016-10-30 12:50 ` Catalin Marinas
0 siblings, 1 reply; 2+ messages in thread
From: Michael Scott @ 2016-10-21 17:56 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index cfbdf02..e9fc226 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.
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arm64: qcom: enable GPIOLIB in Kconfig
2016-10-21 17:56 [PATCH] arm64: qcom: enable GPIOLIB in Kconfig Michael Scott
@ 2016-10-30 12:50 ` Catalin Marinas
0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2016-10-30 12:50 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Oct 21, 2016 at 10:56:08AM -0700, Michael Scott wrote:
> 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>
> ---
> arch/arm64/Kconfig.platforms | 1 +
Such patches are normally handled by arm-soc (cc'ed).
--
Catalin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-30 12:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-21 17:56 [PATCH] arm64: qcom: enable GPIOLIB in Kconfig Michael Scott
2016-10-30 12:50 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).