mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
purism: librem5: Fix a function declaration in spl.c
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>
This commit is contained in:
parent
332f48022f
commit
486930bd7f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue