[U-Boot] [PATCH v2 37/80] dm: usb: ehci: Use a function to find the controller from struct udevice

Simon Glass sjg at chromium.org
Tue Apr 7 20:44:24 CEST 2015


On 25 March 2015 at 12:22, Simon Glass <sjg at chromium.org> wrote:
> With driver model we want to remove the controller pointer in struct udevice
> and use driver model data structures instead. To prepare for this, move
> access to this field to a function which can provide a different
> implementation for driver model.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/usb/host/ehci-hcd.c | 54 +++++++++++++++++++++++++++++++--------------
>  1 file changed, 37 insertions(+), 17 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list