summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-02-27 14:51:01 -0600
committerMattijs Korpershoek <[email protected]>2025-03-10 09:22:35 +0100
commit6689b0c955f1ec885ed1acafc7c5d7c1565dbe63 (patch)
tree901b99f52333fd5fa4882bc66ff8a027430abdc1 /include/serial.h
parent7f061aba9af99d2e911418939f0dbd5b79911a1e (diff)
usb: gadget: Remove the legacy usbtty driver
The lone user of this driver has been removed for some time. Remove this driver as well. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/serial.h b/include/serial.h
index e5f6d984d28..0a707ca730d 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -48,26 +48,6 @@ extern int serial_assign(const char *name);
extern void serial_reinit_all(void);
int serial_initialize(void);
-/* For usbtty */
-#ifdef CONFIG_USB_TTY
-
-struct stdio_dev;
-
-int usbtty_getc(struct stdio_dev *dev);
-void usbtty_putc(struct stdio_dev *dev, const char c);
-void usbtty_puts(struct stdio_dev *dev, const char *str);
-int usbtty_tstc(struct stdio_dev *dev);
-
-#else
-
-/* stubs */
-#define usbtty_getc(dev) 0
-#define usbtty_putc(dev, a)
-#define usbtty_puts(dev, a)
-#define usbtty_tstc(dev) 0
-
-#endif /* CONFIG_USB_TTY */
-
struct udevice;
enum serial_par {