pinctrl: qcom: mark true OF dependency - common MSM pinctrl code
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 1 Jun 2023 15:20:23 +0000 (17:20 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Jun 2023 07:05:31 +0000 (09:05 +0200)
commitda95f081b3fea8e6d78b31ced149cbaad183a342
treee8ce35d359b1487fa1ca80d57672b7740fef8ea3
parentc0602eea4a9549e2a5ded641c4fe2e935194be55
pinctrl: qcom: mark true OF dependency - common MSM pinctrl code

The common MSM pinctrl driver code (PINCTRL_MSM) uses
pinconf_generic_dt_node_to_map_group() from GENERIC_PINCONF, which is
not available for compile testing for !OF cases.  Drivers actually do
not depend on OF.  Move the OF dependency to the entry actually
depending on it and drop any "|| COMPILE_TEST", because OF is required
also for compile testing (lack of OF was never visible in compile
testing because none of the drivers could be compile tested due to
Makefile).

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-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/Kconfig