]> git.sur5r.net Git - u-boot/commit
musb: Update usb-compat to work with struct usb_device without a parent ptr
authorHans de Goede <hdegoede@redhat.com>
Wed, 17 Jun 2015 19:33:55 +0000 (21:33 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:37 +0000 (17:39 -0600)
commite740ca3cab93a8cb31d870bffecd6aa8eadf44e1
treeea2ff40689e9dc7e1dd73c5eecd7365229ee3e0e
parent15837236386191f2a26706b5ee56cdb4ab28e6d5
musb: Update usb-compat to work with struct usb_device without a parent ptr

When building with CONFIG_DM_USB=y struct usb_device does not have a parent
pointer. This commit adds support to the musb code to deal with this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/usb/musb-new/musb_host.c
drivers/usb/musb-new/musb_uboot.c
drivers/usb/musb-new/usb-compat.h