dm: usb: Allow ECHI to hold private data for the controller
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:19 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:23 +0000 (11:11 -0600)
commitc4a3141d55398660a65417fa15c05d2630400af7
tree27bdfc1808365a794346eb229dca302379b54cec
parent7338287d580fba4f09d052960941c23039e8919d
dm: usb: Allow ECHI to hold private data for the controller

Add a private data pointer that clients of EHCI can use to access their
private information. This establishes a link between struct ehci_ctrl and
its associated controller data structure.

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