commit | cb7cf603058dc769da6f38ca7cd4caa52c1c9801 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 25 12:22:25 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:24 2015 -0600 |
tree | b1a3e249016c00ac7634d139c2ccb28c9d7fd383 | |
parent | dfbf186cd2d69cb6169114fc14ffe2b495230d47 [diff] |
dm: usb: ehci: Use a function to find the controller from struct udevice 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@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>