armbian_build/patch/u-boot/legacy/board_odroidc1/0011-wait_ms-fix.patch
kernelzru b8cb535327
Fix u-boot build for odroid c1 + fix onboard usb hub on odroid c1 (#6559)
* Fix odroid c1 u-boot build with GCC > 4.9
* Fix odroid c1 usb onboard hub
* u-boot add olddefconfig for odroidc c1
* fix build on armbian
* Update meson_common.inc
2024-05-09 17:47:36 +02:00

26 lines
887 B
Diff

From c853a932ea53d3bec9e4509d263245421b07af4d Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Fri, 25 Nov 2016 22:48:48 -0700
Subject: [PATCH 11/11] wait_ms fix
---
include/usb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/usb.h b/include/usb.h
index 97ea37b..d3acbd5 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -197,7 +197,7 @@ int usb_submit_int_msg(struct usb_device *dev, unsigned long pipe,
void *buffer, int transfer_len, int interval);
void usb_disable_asynch(int disable);
int usb_maxpacket(struct usb_device *dev, unsigned long pipe);
-inline void wait_ms(unsigned long ms);
+extern inline void wait_ms(unsigned long ms);
int usb_get_configuration_no(struct usb_device *dev, unsigned char *buffer,
int cfgno);
int usb_get_report(struct usb_device *dev, int ifnum, unsigned char type,
--
2.10.2