]> git.sur5r.net Git - u-boot/commit
dm: usb: xhci: Use a function to get xhci_ctrl
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:49 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:28 +0000 (11:11 -0600)
commit7c1deec0afc209fea14bc38e3a3e1d28b773ee55
tree55dd5a878b7a4a1ca9c1c48b1aab0696972081ff
parentc3980ad3b51bd0f7d4d211f6ff504af800ff70dd
dm: usb: xhci: Use a function to get xhci_ctrl

Rather than getting this directly from struct usb_device, call a function
to obtain it. This will make it possible for driver model to provide it
another way.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h