[PATCH] serial: ns16550: Fix an "unused" warning 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:04 -0600, Tom Rini wrote:
> The definition of our ID table 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 the
> ID table with SERIAL_PRESENT.
>
>
Applied to u-boot/master, thanks!
[1/1] serial: ns16550: Fix an "unused" warning with SERIAL_PRESENT=n and OF_REAL=y
commit: 25d55485dbced189f8d0400fb0da58b19e196662
--
Tom
More information about the U-Boot
mailing list