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

Tom Rini trini at konsulko.com
Sat Nov 13 05:08:34 CET 2021


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

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211112/07eadce3/attachment.sig>


More information about the U-Boot mailing list