[PATCH] pinctrl: meson: Correct the driver GPIO declaration

Simon Glass sjg at chromium.org
Sat Nov 13 15:08:18 CET 2021


Hi Tom,

On Fri, 12 Nov 2021 at 21:08, Tom Rini <trini at konsulko.com> wrote:
>
> On Fri, Nov 12, 2021 at 07:00:34PM -0700, Simon Glass wrote:
>
> > This should use the provided U_BOOT_DRIVER() macro so that the driver gets
> > added to the appropriate linker list. Fix it.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > Fixes: 7c9dcfed50f ("pinctrl: meson: rework gx pmx function")
>
> Doesn't build for me:
> /home/trini/work/u-boot/u-boot/drivers/pinctrl/meson/pinctrl-meson-gxl.c:704:28:
> error: 'meson_
> gx_gpio_driver' undeclared here (not in a function); did you mean
> 'meson_gpio_probe'?
>   704 |         .gpio_driver    = &meson_gx_gpio_driver,
>         |                            ^~~~~~~~~~~~~~~~~~~~
>               |                            meson_gpio_probe
>
> For libretech-cc

Oh I only fixed one driver and was building odroid-c2 (just a guess).
I will send v2 that works with 'buildman meson'.

Regards,
Simon


More information about the U-Boot mailing list