dm: usb: Pass EHCI controller pointer to ehci_set_usbmode()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:23 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:24 +0000 (11:11 -0600)
commit11d18a1946bd290b83d584ab521e6940e1a11d69
tree32bb06d968fafa69d73e289fe1f9a6f05ad17837
parent56d4273045e607ddac7c1e3acd809748a8d5e7c0
dm: usb: Pass EHCI controller pointer to ehci_set_usbmode()

Adjust this function so that it is passed an EHCI controller pointer so that
implementations can look up their controller. This makes the weak functions
use a consistent API.

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