Message ID | 20240418091435.18232-1-robert.marko@sartura.hr |
---|---|
State | Accepted |
Delegated to: | Caleb Connolly |
Headers | show |
Series | [1/3] pinctrl: qcom: allow selecting with ARCH_IPQ40XX | expand |
On 18/04/2024 10:14, Robert Marko wrote: > IPQ4019 pinctrl driver was moved to the dedicated Qualcomm pinctrl > directory, but the KConfig depends on ARCH_SNAPDRAGON only and thus > PINCTRL_QCOM_IPQ4019 cannot be selected when ARCH_IPQ40XX is used. > > Fixes: 24d2908e987a ("pinctrl: qcom: move ipq4019 driver from mach-ipq40xx") > Signed-off-by: Robert Marko <robert.marko@sartura.hr> Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org> > --- > drivers/pinctrl/qcom/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig > index 2fe6398147..bd2019c866 100644 > --- a/drivers/pinctrl/qcom/Kconfig > +++ b/drivers/pinctrl/qcom/Kconfig > @@ -1,4 +1,4 @@ > -if ARCH_SNAPDRAGON > +if ARCH_SNAPDRAGON || ARCH_IPQ40XX > > config PINCTRL_QCOM > depends on PINCTRL_GENERIC
diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 2fe6398147..bd2019c866 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -1,4 +1,4 @@ -if ARCH_SNAPDRAGON +if ARCH_SNAPDRAGON || ARCH_IPQ40XX config PINCTRL_QCOM depends on PINCTRL_GENERIC
IPQ4019 pinctrl driver was moved to the dedicated Qualcomm pinctrl directory, but the KConfig depends on ARCH_SNAPDRAGON only and thus PINCTRL_QCOM_IPQ4019 cannot be selected when ARCH_IPQ40XX is used. Fixes: 24d2908e987a ("pinctrl: qcom: move ipq4019 driver from mach-ipq40xx") Signed-off-by: Robert Marko <robert.marko@sartura.hr> --- drivers/pinctrl/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)