From: Felipe Balbi Date: Thu, 1 Oct 2015 19:22:17 +0000 (-0500) Subject: usb: host: xhci-omap: fix build break X-Git-Tag: v2016.01-rc2~5^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9dc522249a2b5aa59bcb2f022ce5844434ac81bc;p=platform%2Fkernel%2Fu-boot.git usb: host: xhci-omap: fix build break 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 --- diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c index 104e7a7..fd19f79 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; }