pinctrl: qcom: allow true compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 1 Jun 2023 15:20:24 +0000 (17:20 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Jun 2023 07:05:36 +0000 (09:05 +0200)
Makefile selected Qualcomm pinctrl drivers only for ARCH_QCOM, making
any COMPILE_TEST options inside Kconfig ((ARCH_QCOM || COMPILE_TEST) or
(OF || COMPILE_TEST)) not effective.  Always descent to the qcom
subdirectory to fix this.  All individual drivers are selected in
Makefile via dedicated CONFIG entries, thus this should not have
functional impact except when compile testing.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230601152026.1182648-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile

index e196c6e..482b391 100644 (file)
@@ -66,7 +66,7 @@ obj-y                         += nomadik/
 obj-y                          += nuvoton/
 obj-y                          += nxp/
 obj-$(CONFIG_PINCTRL_PXA)      += pxa/
-obj-$(CONFIG_ARCH_QCOM)                += qcom/
+obj-y                          += qcom/
 obj-$(CONFIG_PINCTRL_RENESAS)  += renesas/
 obj-$(CONFIG_PINCTRL_SAMSUNG)  += samsung/
 obj-$(CONFIG_PINCTRL_SPEAR)    += spear/