From: Tom Rini Date: Thu, 9 Mar 2023 16:22:11 +0000 (-0500) Subject: purism: librem5: Fix a function declaration in spl.c X-Git-Tag: v2025.01-rc5-pxa1908~1023^2~25^2 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=486930bd7fe1db63c302c960445cdd4be4a4f1d1;p=u-boot.git purism: librem5: Fix a function declaration in spl.c Here we implement usb_gadget_handle_interrupts() but did not include so did not have the declaration correct. Fix this and add the missing include. Signed-off-by: Tom Rini --- diff --git a/board/purism/librem5/spl.c b/board/purism/librem5/spl.c index 1a203b4599..90f1fcf415 100644 --- a/board/purism/librem5/spl.c +++ b/board/purism/librem5/spl.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "librem5.h" DECLARE_GLOBAL_DATA_PTR; @@ -417,7 +418,7 @@ out: return rv; } -int usb_gadget_handle_interrupts(void) +int usb_gadget_handle_interrupts(int index) { dwc3_uboot_handle_interrupt(0); return 0;