diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-29 09:39:52 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-29 13:57:14 +0200 |
commit | 7c9708a5c6a9b0c5e7554363f4af1e88549887e0 (patch) | |
tree | c2bd949f27fb25171aab1a9dcd529d8b86371e83 /drivers/usb/host/ehci-hcd.c | |
parent | 0408cb01fa4dbf80fbc1516af8cdc86e087c63ac (diff) | |
download | barebox-7c9708a5c6a9b0c5e7554363f4af1e88549887e0.tar.gz barebox-7c9708a5c6a9b0c5e7554363f4af1e88549887e0.tar.xz |
usb: ehci: forward phy given in registration data to host
Allow to pass a phy in the registration data and forward it to
the usb_host structure.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 35cf6aa0ad..f6e9099da8 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -1297,6 +1297,7 @@ int ehci_register(struct device_d *dev, struct ehci_data *data) host->hw_dev = dev; host->init = ehci_init; + host->usbphy = data->usbphy; host->submit_int_msg = submit_int_msg; host->submit_control_msg = submit_control_msg; host->submit_bulk_msg = submit_bulk_msg; |