diff options
| author | Tom Rini <[email protected]> | 2026-02-24 09:45:04 -0600 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2026-03-03 09:09:43 +0100 |
| commit | 7b60cd933bc1db31c94483f6aeb9289722427c5e (patch) | |
| tree | 896351dca9367226770bc79db5066face5a4cc74 /drivers | |
| parent | 8d24789abed0822fbe41a2f9d72cf19650159dc6 (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 <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/gadget/ci_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index 046bb335ecb..4729570c525 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -990,7 +990,7 @@ int dm_usb_gadget_handle_interrupts(struct udevice *dev) return value; } -void udc_disconnect(void) +static void udc_disconnect(void) { struct ci_udc *udc = (struct ci_udc *)controller.ctrl->hcor; /* disable pullup */ |
