[PATCH] serial: omap: Fix "unused" warnings with SERIAL_PRESENT=n and OF_REAL=y
Tom Rini
trini at konsulko.com
Tue Apr 7 21:50:16 CEST 2026
On Mon, 23 Mar 2026 13:53:06 -0600, Tom Rini wrote:
> The definition of our ID table (and of_to_plat function) is guarded with
> OF_REAL however the U_BOOT_DRIVER that would in turn use the table is
> guarded with SERIAL_PRESENT. To avoid a potential warning we must also
> guard both with SERIAL_PRESENT.
>
>
Applied to u-boot/master, thanks!
[1/1] serial: omap: Fix "unused" warnings with SERIAL_PRESENT=n and OF_REAL=y
commit: 3fe899fbeae62b8408c1e70532fe58cdab959dd0
--
Tom
More information about the U-Boot
mailing list