diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-29 09:36:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-29 13:57:14 +0200 |
commit | 0408cb01fa4dbf80fbc1516af8cdc86e087c63ac (patch) | |
tree | cf1a1da7a980ac6f6555bc8b913418751b6f4e09 /include | |
parent | 8ac094d3465fcd116cf175c711e27681c9c4a336 (diff) | |
download | barebox-0408cb01fa4dbf80fbc1516af8cdc86e087c63ac.tar.gz barebox-0408cb01fa4dbf80fbc1516af8cdc86e087c63ac.tar.xz |
usb: Add usb phy to usb host
Add a struct usb_phy * member to struct usb_host. Also, call
usb_phy_notify_connect() / usb_phy_notify_disconnect() when there
are connection changes on the root hub.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h index aedc527f58..93308cec00 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -153,6 +153,7 @@ struct usb_host { int busnum; struct usb_device *root_dev; int sem; + struct usb_phy *usbphy; }; int usb_register_host(struct usb_host *); |