]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: Pass EHCI controller pointer to ehci_get_portsc_register()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:24 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:24 +0000 (11:11 -0600)
commit6a1a8162c62fcb5435495c1ddf3390a1d1967474
treecdb92b0943b31f8ef016c0823a5146624a96af24
parent11d18a1946bd290b83d584ab521e6940e1a11d69
dm: usb: Pass EHCI controller pointer to ehci_get_portsc_register()

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.h