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>
Loading
Please register or sign in to comment