[PATCH v2] pinctrl: sunxi: Fix recursive dependency

Linus Walleij linus.walleij at linaro.org
Thu May 22 15:35:49 PDT 2014


On Thu, May 22, 2014 at 4:47 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:

> Fix the following configuration error:
> drivers/pinctrl/sunxi/Kconfig:3:error: recursive dependency detected!
> drivers/pinctrl/sunxi/Kconfig:3:        symbol PINCTRL_SUNXI is selected by PINCTRL_SUN4I_A10
> drivers/pinctrl/sunxi/Kconfig:9:        symbol PINCTRL_SUN4I_A10 default value contains PINCTRL_SUNXI
>
> Add a new intermedia PINCTRL_SUNXI_COMMON, that superseeds the PINCTRL_SUNXI
> one.
>
> We still need to keep PINCTRL_SUNXI at the moment in order to preserve
> bisectability. Indeed, during that merge window, we also introduced the
> MACH_SUN* symbols. Since it's going through different trees, we can't rely on
> the fact that the options will be there, while ARCH_SUNXI still select
> PINCTRL_SUNXI.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>

Or bah, I just applied this then.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list