diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-20 23:38:39 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-20 23:38:39 +0000 |
commit | 53d94f89e86ef262c9f76fa2aba93ffae9995717 (patch) | |
tree | b836556e8d9c11435c231e80febe78fa86b9f902 /package/boot/uboot-omap/patches/440-use-normal_board_usb_init.patch | |
parent | 605621fc3f2ebebca800dbcd360cd02f994f43ad (diff) | |
download | upstream-53d94f89e86ef262c9f76fa2aba93ffae9995717.tar.gz upstream-53d94f89e86ef262c9f76fa2aba93ffae9995717.tar.bz2 upstream-53d94f89e86ef262c9f76fa2aba93ffae9995717.zip |
uboot-omap: fix build with gcc-5
This fixes some problems with gcc-5.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47539
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) || \ |