]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:57 +0000 (13:48 +0200)
commitef4aa27844e21351da9607963c8672e9266c0e94
treef2469b8c336eeffc36a50c8f7c4fee739b05d124
parent0adaed329527afe0add3f40d9cd60ef68047710a
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