Message ID | 1504714085-17731-1-git-send-email-geert+renesas@glider.be |
---|---|
State | New |
Headers | show |
Series | pinctrl: sprd: Restrict PINCTRL_SPRD to ARCH_SPRD or COMPILE_TEST | expand |
On 09/06/17 09:08, Geert Uytterhoeven wrote: > The Spreadtrum pinctrl drivers are only useful when building for a > Spreadtrum platform. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > On top of Arnd's: > - pinctrl: sprd: add missing Kconfig dependency > - pinctrl: sprd: add CONFIG_OF dependency or (probably with fuzz) on top of my previous patch: https://lkml.org/lkml/2017/9/4/336 > drivers/pinctrl/sprd/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pinctrl/sprd/Kconfig b/drivers/pinctrl/sprd/Kconfig > index e75cde2e1b460d66..bc7f3fab22f1c431 100644 > --- a/drivers/pinctrl/sprd/Kconfig > +++ b/drivers/pinctrl/sprd/Kconfig > @@ -5,6 +5,7 @@ > config PINCTRL_SPRD > bool "Spreadtrum pinctrl driver" > depends on OF > + depends on ARCH_SPRD || COMPILE_TEST > select PINMUX > select PINCONF > select GENERIC_PINCONF >
On Wed, Sep 6, 2017 at 6:08 PM, Geert Uytterhoeven <geert+renesas@glider.be> wrote: > The Spreadtrum pinctrl drivers are only useful when building for a > Spreadtrum platform. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > On top of Arnd's: > - pinctrl: sprd: add missing Kconfig dependency > - pinctrl: sprd: add CONFIG_OF dependency Fuzzed on top of Randy's patch and applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/pinctrl/sprd/Kconfig b/drivers/pinctrl/sprd/Kconfig index e75cde2e1b460d66..bc7f3fab22f1c431 100644 --- a/drivers/pinctrl/sprd/Kconfig +++ b/drivers/pinctrl/sprd/Kconfig @@ -5,6 +5,7 @@ config PINCTRL_SPRD bool "Spreadtrum pinctrl driver" depends on OF + depends on ARCH_SPRD || COMPILE_TEST select PINMUX select PINCONF select GENERIC_PINCONF
The Spreadtrum pinctrl drivers are only useful when building for a Spreadtrum platform. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- On top of Arnd's: - pinctrl: sprd: add missing Kconfig dependency - pinctrl: sprd: add CONFIG_OF dependency drivers/pinctrl/sprd/Kconfig | 1 + 1 file changed, 1 insertion(+)