public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] usb: host: xhci-omap: fix build break
@ 2015-10-01 19:22 Felipe Balbi
  2015-10-01 19:22 ` [U-Boot] [PATCH 2/2] usb: dwc3: fix build warnings Felipe Balbi
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Felipe Balbi @ 2015-10-01 19:22 UTC (permalink / raw)
  To: u-boot

Fix the following build break:

drivers/usb/host/xhci-omap.c:35:5: error: ?board_usb_init? aliased to external symbol ?__board_usb_init?
 int board_usb_init(int index, enum usb_init_type init)
      ^

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 drivers/usb/host/xhci-omap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
index 104e7a7282cf..fd19f79f0fc5 100644
--- a/drivers/usb/host/xhci-omap.c
+++ b/drivers/usb/host/xhci-omap.c
@@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 static struct omap_xhci omap;
 
-inline int __board_usb_init(int index, enum usb_init_type init)
+__weak int __board_usb_init(int index, enum usb_init_type init)
 {
 	return 0;
 }
-- 
2.5.3

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-11-28  1:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01 19:22 [U-Boot] [PATCH 1/2] usb: host: xhci-omap: fix build break Felipe Balbi
2015-10-01 19:22 ` [U-Boot] [PATCH 2/2] usb: dwc3: fix build warnings Felipe Balbi
2015-10-16 20:09   ` Felipe Balbi
2015-11-28  1:30     ` Marek Vasut
2015-10-16 20:09 ` [U-Boot] [PATCH 1/2] usb: host: xhci-omap: fix build break Felipe Balbi
2015-10-16 21:35   ` Tom Rini
2015-10-16 22:08     ` Felipe Balbi
2015-10-21  8:37       ` Peter Robinson
2015-10-21 11:55         ` Tom Rini
2015-10-21 12:24           ` Peter Robinson
2015-10-21 13:09             ` Tom Rini
2015-11-28  1:33 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox