Re: [PATCH 6/7] pinctrl: pinmux: Introduce API to check if a pin is requested

From: Linus Walleij
Date: Sat Oct 19 2024 - 14:22:12 EST


On Thu, Oct 17, 2024 at 1:39 PM Prabhakar <prabhakar.csengg@xxxxxxxxx> wrote:

> @@ -100,6 +101,10 @@ static inline void pinmux_disable_setting(const struct pinctrl_setting *setting)
> {
> }
>
> +bool pin_requested(struct pinctrl_dev *pctldev, int pin)
> +{
> + return false;
> +}
> #endif

You need "static inline" in front of the stub, that's why the robot is
complaining.

Yours,
Linus Walleij