aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-omap/patches/440-use-normal_board_usb_init.patch
blob: c334e371a8d101c61dcd4dfb2a24fefa9a8a1d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -96,11 +96,10 @@ static void omap_ehci_soft_phy_reset(int
 }
 #endif
 
-inline int __board_usb_init(void)
+static int board_usb_init(void)
 {
 	return 0;
 }
-int board_usb_init(void) __attribute__((weak, alias("__board_usb_init")));
 
 #if defined(CONFIG_OMAP_EHCI_PHY1_RESET_GPIO) || \
 	defined(CONFIG_OMAP_EHCI_PHY2_RESET_GPIO) || \