Skip to content
Commit a06955ae authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Marek Vasut
Browse files

usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers



Add 2 functions to wrap the calls to board_usb_init() and
board_usb_cleanup().
This is a preparatory work for DM support for UDC drivers (DM_USB_GADGET).

Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
parent 57dbc151
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment