summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-10-01 14:22:17 -0500
committerMarek Vasut <marex@denx.de>2015-12-07 00:14:59 +0100
commit9dc522249a2b5aa59bcb2f022ce5844434ac81bc (patch)
tree583f3bac31e84b35dc054c32985f26d074b5964c
parent0f676767b615f166d3fd9e4911e251e09c99f078 (diff)
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 <balbi@ti.com>
-rw-r--r--drivers/usb/host/xhci-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
index 104e7a7282..fd19f79f0f 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;
}