usb: gadget: Weak board_usb_init/cleanup definitions in USB download gadget code
authorPaul Kocialkowski <contact@paulk.fr>
Fri, 12 Jun 2015 17:57:01 +0000 (19:57 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 22 Jul 2015 06:57:53 +0000 (08:57 +0200)
commit99fc2221a059b2571aedf6ff27d7d17dac2b0994
tree4aa601a08e60d47eebd7b1d3c60e05e15ab05710
parent8d2f0039f00f6a07298545ec2b913ef9f5f5ce25
usb: gadget: Weak board_usb_init/cleanup definitions in USB download gadget code

Weak versions of board_usb_init and board_usb_cleanup are defined in common USB
host code, but it is also used for USB device gadgets, so we also need a weak
definition of it when there is no USB host enabled.
Both weak definitions do not conflict.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
drivers/usb/gadget/g_dnl.c