diff options
author | Simon Glass | 2019-11-14 12:57:22 -0700 |
---|---|---|
committer | Tom Rini | 2019-12-02 18:23:10 -0500 |
commit | 2310c8ede3341757ca78885c25262a30e520a3ff (patch) | |
tree | 1d74124e87bf3fc7e2c16b309c98b27be204ee76 /drivers | |
parent | 8d5babb45a051efb9ce4c9e06a693d72ee6cba5a (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/usbtty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c index 76d9c8a3a6d..f1c1a260da5 100644 --- a/drivers/serial/usbtty.c +++ b/drivers/serial/usbtty.c @@ -11,6 +11,7 @@ #include <config.h> #include <circbuf.h> #include <env.h> +#include <serial.h> #include <stdio_dev.h> #include <asm/unaligned.h> #include "usbtty.h" |