diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-22 14:41:24 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-24 18:38:22 +0200 |
commit | eacd5e7cc3af3eb044f997d6bd3aa69c0ae7c772 (patch) | |
tree | 30a848dec72fde92fdcacdb767062475bcae9e02 /include/usb | |
parent | 78182d5d4f8532ab1018c99a7271005d9bb1bad2 (diff) | |
download | barebox-eacd5e7cc3af3eb044f997d6bd3aa69c0ae7c772.tar.gz barebox-eacd5e7cc3af3eb044f997d6bd3aa69c0ae7c772.tar.xz |
usb: make usb devices children of the corresponding host
To be able to find usb devices in the hardware tree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb')
-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 95fb6f3a3b..821724e544 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -210,6 +210,7 @@ struct usb_host { struct list_head list; + struct device_d *hw_dev; int busnum; int scanned; }; |