commit | 24ed894fc05618aa38b82dc158e15d712833132b | [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 | 6a1a8162c62fcb5435495c1ddf3390a1d1967474 [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>