[U-Boot] [PATCH 1/2] usb: host: xhci-omap: fix build break
Felipe Balbi
balbi at ti.com
Fri Oct 16 22:09:02 CEST 2015
Felipe Balbi <balbi at ti.com> writes:
> 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 at ti.com>
ping
> ---
> 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
>
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151016/1fb52e2b/attachment.sig>
More information about the U-Boot
mailing list