From: Marek Vasut Date: Fri, 14 Jun 2024 00:51:26 +0000 (+0200) Subject: usb: gadget: Mark dm_usb_gadget_handle_interrupts as non-weak for DM_USB_GADGET X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9e2c14804e4aaefe7cbb43d444f5dc83ba76c86d;p=u-boot.git usb: gadget: Mark dm_usb_gadget_handle_interrupts as non-weak for DM_USB_GADGET The dm_usb_gadget_handle_interrupts() is not implemented by any USB gadget controller drivers which do enable DM_USB_GADGET anymore. Set the symbol as non-weak. Signed-off-by: Marek Vasut Reviewed-by: Mattijs Korpershoek Tested-by: Alexander Sverdlin Tested-by: Mattijs Korpershoek # vim3 Link: https://lore.kernel.org/r/20240614005309.34433-12-marek.vasut+renesas@mailbox.org Signed-off-by: Mattijs Korpershoek --- diff --git a/drivers/usb/gadget/udc/udc-uclass.c b/drivers/usb/gadget/udc/udc-uclass.c index 2320039fe3..fbe62bbce4 100644 --- a/drivers/usb/gadget/udc/udc-uclass.c +++ b/drivers/usb/gadget/udc/udc-uclass.c @@ -18,7 +18,7 @@ usb_gadget_generic_dev_ops(struct udevice *dev) return (const struct usb_gadget_generic_ops *)dev->driver->ops; } -__weak int dm_usb_gadget_handle_interrupts(struct udevice *dev) +int dm_usb_gadget_handle_interrupts(struct udevice *dev) { const struct usb_gadget_generic_ops *ops;