diff options
author | Marek Vasut | 2024-06-14 02:51:25 +0200 |
---|---|---|
committer | Mattijs Korpershoek | 2024-07-05 14:08:48 +0200 |
commit | ed8e638de1ef0ab2bf87c6c83882b275b66b292f (patch) | |
tree | b5869442b39691c721f8c566155092d5d231b070 /drivers/usb | |
parent | ac4bf5d48a9e85e79ced3b7195a8599c21c0a16d (diff) |
usb: gadget: sandbox: Drop dm_usb_gadget_handle_interrupts()
Drop dm_usb_gadget_handle_interrupts() in favor of empty default
implementation of the same in drivers/usb/gadget/udc/udc-uclass.c .
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # vim3
Link: https://lore.kernel.org/r/20240614005309.34433-11-marek.vasut+renesas@mailbox.org
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/usb-sandbox.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/usb/host/usb-sandbox.c b/drivers/usb/host/usb-sandbox.c index e26f0b292ed..f687fe2c430 100644 --- a/drivers/usb/host/usb-sandbox.c +++ b/drivers/usb/host/usb-sandbox.c @@ -123,12 +123,7 @@ static int sandbox_submit_int(struct udevice *bus, struct usb_device *udev, return ret; } -#if CONFIG_IS_ENABLED(DM_USB_GADGET) -int dm_usb_gadget_handle_interrupts(struct udevice *dev) -{ - return 0; -} -#else +#if !CONFIG_IS_ENABLED(DM_USB_GADGET) int usb_gadget_register_driver(struct usb_gadget_driver *driver) { struct sandbox_udc *dev = this_controller; |