summaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2026-02-24 09:45:04 -0600
committerMattijs Korpershoek <mkorpershoek@kernel.org>2026-03-03 09:09:43 +0100
commit7b60cd933bc1db31c94483f6aeb9289722427c5e (patch)
tree896351dca9367226770bc79db5066face5a4cc74 /include/usb.h
parent8d24789abed0822fbe41a2f9d72cf19650159dc6 (diff)
usb: gadget: Mark udc_disconnect as static
With the last external callers of udc_disconnect long removed, mark this function as static now and remove it from headers. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org> Link: https://patch.msgid.link/20260224154504.85301-1-trini@konsulko.com Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/usb.h b/include/usb.h
index be37ed272e1..dab23753f0c 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -209,15 +209,6 @@ void *poll_int_queue(struct usb_device *dev, struct int_queue *queue);
#define USB_UHCI_DEV_ID 0x7112
/*
- * PXA25x can only act as USB device. There are drivers
- * which works with USB CDC gadgets implementations.
- * Some of them have common routines which can be used
- * in boards init functions e.g. udc_disconnect() used for
- * forced device disconnection from host.
- */
-extern void udc_disconnect(void);
-
-/*
* board-specific hardware initialization, called by
* usb drivers and u-boot commands
*