diff options
author | Tom Rini <trini@konsulko.com> | 2023-03-09 11:22:11 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-22 15:22:48 -0400 |
commit | 486930bd7fe1db63c302c960445cdd4be4a4f1d1 (patch) | |
tree | 06ac245b48b6cc59b392b5117030dffd63459db1 /board | |
parent | 332f48022f642ed06541009d06f71105f81d3c80 (diff) | |
download | u-boot-486930bd7fe1db63c302c960445cdd4be4a4f1d1.zip u-boot-486930bd7fe1db63c302c960445cdd4be4a4f1d1.tar.gz u-boot-486930bd7fe1db63c302c960445cdd4be4a4f1d1.tar.bz2 |
purism: librem5: Fix a function declaration in spl.cWIP/2023-03-22-assorted-minor-code-cleanups
Here we implement usb_gadget_handle_interrupts() but did not include
<linux/usb/gadget.h> so did not have the declaration correct. Fix this
and add the missing include.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/purism/librem5/spl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/purism/librem5/spl.c b/board/purism/librem5/spl.c index 1a203b4..90f1fcf 100644 --- a/board/purism/librem5/spl.c +++ b/board/purism/librem5/spl.c @@ -26,6 +26,7 @@ #include <usb.h> #include <dwc3-uboot.h> #include <linux/delay.h> +#include <linux/usb/gadget.h> #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; |