]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: Add driver model support to EHCI
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:29 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:25 +0000 (11:11 -0600)
commit46b01797f48927bcb8f1bd138abe0da8119bdab4
tree7c6a5a8f8d90742367afb43b7ab53c75f0d98da4
parentaeca43e3883e2a25a8ecb183555df9ac2da311a7
dm: usb: Add driver model support to EHCI

Add a way for EHCI controller drivers to support driver model. Drivers can
call ehci_register() to register themselves in their probe() methods.

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