]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial-uclass: fix build warning
authorHeiko Schocher <hs@denx.de>
Wed, 2 Feb 2022 12:55:19 +0000 (13:55 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Feb 2022 19:30:13 +0000 (12:30 -0700)
commit3ed8c4c88379557cce495b3b703c3b393db2d648
tree1a3c9ceaab9e60b2331f750e3b19c4938f144109
parent0129f2d8ee41d221519287de2a7417f7431584c7
serial-uclass: fix build warning

if CONFIG_DM_STDIO is defined but SERIAL_PRESENT not,
gcc drops warnings for serial_stub_* functions
that they are defined but not used.

Fix it.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial-uclass.c