mirror of
https://github.com/torvalds/linux.git
synced 2026-08-12 02:15:02 +02:00
Enabling the PINCTRL_SM8350 symbol without GPIOLIB or SCM causes a build failure: WARNING: unmet direct dependencies detected for PINCTRL_MSM Depends on [m]: PINCTRL [=y] && (ARCH_QCOM [=y] || COMPILE_TEST [=y]) && GPIOLIB [=y] && (QCOM_SCM [=m] || !QCOM_SCM [=m]) Selected by [y]: - PINCTRL_SM8350 [=y] && PINCTRL [=y] && (ARCH_QCOM [=y] || COMPILE_TEST [=y]) && GPIOLIB [=y] && OF [=y] aarch64-linux-ld: drivers/pinctrl/qcom/pinctrl-msm.o: in function `msm_gpio_irq_set_type': pinctrl-msm.c:(.text.msm_gpio_irq_set_type+0x1c8): undefined reference to `qcom_scm_io_readl' The main problem here is the 'select PINCTRL_MSM', which needs to be a 'depends on' as it is for all the other front-ends. As the GPIOLIB dependency is now implied by that, symbol, remove the duplicate dependencies in the process. Fixes: |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-apq8064.c | ||
| pinctrl-apq8084.c | ||
| pinctrl-ipq4019.c | ||
| pinctrl-ipq6018.c | ||
| pinctrl-ipq8064.c | ||
| pinctrl-ipq8074.c | ||
| pinctrl-lpass-lpi.c | ||
| pinctrl-mdm9615.c | ||
| pinctrl-msm.c | ||
| pinctrl-msm.h | ||
| pinctrl-msm8x74.c | ||
| pinctrl-msm8226.c | ||
| pinctrl-msm8660.c | ||
| pinctrl-msm8916.c | ||
| pinctrl-msm8953.c | ||
| pinctrl-msm8960.c | ||
| pinctrl-msm8976.c | ||
| pinctrl-msm8994.c | ||
| pinctrl-msm8996.c | ||
| pinctrl-msm8998.c | ||
| pinctrl-qcs404.c | ||
| pinctrl-qdf2xxx.c | ||
| pinctrl-sc7180.c | ||
| pinctrl-sc7280.c | ||
| pinctrl-sc8180x.c | ||
| pinctrl-sdm660.c | ||
| pinctrl-sdm845.c | ||
| pinctrl-sdx55.c | ||
| pinctrl-sm6125.c | ||
| pinctrl-sm8150.c | ||
| pinctrl-sm8250.c | ||
| pinctrl-sm8350.c | ||
| pinctrl-spmi-gpio.c | ||
| pinctrl-spmi-mpp.c | ||
| pinctrl-ssbi-gpio.c | ||
| pinctrl-ssbi-mpp.c | ||