diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 22:57:23 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 02:23:10 +0300 |
commit | f516fd99ec59d964836906c8ac370f246d60c14d (patch) | |
tree | a3247c000d7a32a3869d914393b5b99139d2cc95 /drivers/usb/musb | |
parent | 2310c8ede3341757ca78885c25262a30e520a3ff (diff) | |
download | u-boot-f516fd99ec59d964836906c8ac370f246d60c14d.tar.xz |
common: Move serial_printf() to the serial header
Move this function header to serial.h since this function is clearly
related to serial. The function itself stays in console.c since we don't
have a single serial file. DM and non-DM each has a separate file so we
would have to either create a new common serial file, or repeat the
function in both serial.c and serial-uclass.c, neither of which seem
worthwhile.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_udc.c | 1 | ||||
-rw-r--r-- | drivers/usb/musb/omap3.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_udc.c b/drivers/usb/musb/musb_udc.c index 7620114bec..584564bac2 100644 --- a/drivers/usb/musb/musb_udc.c +++ b/drivers/usb/musb/musb_udc.c @@ -38,6 +38,7 @@ */ #include <common.h> +#include <serial.h> #include <usbdevice.h> #include <usb/udc.h> #include "../gadget/ep0.h" diff --git a/drivers/usb/musb/omap3.c b/drivers/usb/musb/omap3.c index b2e4c32baf..080bd78523 100644 --- a/drivers/usb/musb/omap3.c +++ b/drivers/usb/musb/omap3.c @@ -16,6 +16,7 @@ * ------------------------------------------------------------------------ */ +#include <serial.h> #include <asm/omap_common.h> #include <twl4030.h> #include <twl6030.h> |