diff options
Diffstat (limited to 'package/boot/uboot-omap/patches/440-use-normal_board_usb_init.patch')
-rw-r--r-- | package/boot/uboot-omap/patches/440-use-normal_board_usb_init.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/boot/uboot-omap/patches/440-use-normal_board_usb_init.patch b/package/boot/uboot-omap/patches/440-use-normal_board_usb_init.patch new file mode 100644 index 0000000000..c334e371a8 --- /dev/null +++ b/package/boot/uboot-omap/patches/440-use-normal_board_usb_init.patch @@ -0,0 +1,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) || \ |