Introduce TI DRA7 vayu and cleanup template files
[AGL/meta-agl.git] / meta-agl-bsp / recipes-bsp / u-boot / files / fix_builderror_gcc5.patch
1 Fix the following build break:
2
3 drivers/usb/host/xhci-omap.c:35:5: error: ‘board_usb_init’ aliased to external symbol ‘__board_usb_init’
4  int board_usb_init(int index, enum usb_init_type init)
5       ^
6
7 Signed-off-by: Felipe Balbi <balbi at ti.com>
8 ---
9  drivers/usb/host/xhci-omap.c | 2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
13 index 104e7a7282cf..fd19f79f0fc5 100644
14 --- a/drivers/usb/host/xhci-omap.c
15 +++ b/drivers/usb/host/xhci-omap.c
16 @@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;
17  
18  static struct omap_xhci omap;
19  
20 -inline int __board_usb_init(int index, enum usb_init_type init)
21 +__weak int __board_usb_init(int index, enum usb_init_type init)
22  {
23     return 0;
24  }
25 --
26 2.5.3