Re: [PATCH] pinctrl: Define of_pinctrl_get() dummy for !PINCTRL

From: Linus Walleij
Date: Tue Mar 31 2020 - 16:09:36 EST


On Mon, Mar 30, 2020 at 11:58 AM Thierry Reding
<thierry.reding@xxxxxxxxx> wrote:

> From: Thierry Reding <treding@xxxxxxxxxx>
>
> Currently, the of_pinctrl_get() dummy is only defined for !OF, which can
> still cause build failures on configurations with OF enabled but PINCTRL
> disabled. Make sure to define the dummy if either OF or PINCTRL are not
> enabled.
>
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij