serial: usb: Correct the usbtty_...() prototypes
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:22 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:23:10 +0000 (18:23 -0500)
commit2310c8ede3341757ca78885c25262a30e520a3ff
tree1d74124e87bf3fc7e2c16b309c98b27be204ee76
parent8d5babb45a051efb9ce4c9e06a693d72ee6cba5a
serial: usb: Correct the usbtty_...() prototypes

The function declarations in serial.h are not in sync with what is
currently used in usbtty. Fix this by updating the header and including
it, to help catch future such problems.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/serial/usbtty.c
include/serial.h