summaryrefslogtreecommitdiffstats
path: root/include/usb
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-09-22 14:41:24 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-24 18:38:22 +0200
commiteacd5e7cc3af3eb044f997d6bd3aa69c0ae7c772 (patch)
tree30a848dec72fde92fdcacdb767062475bcae9e02 /include/usb
parent78182d5d4f8532ab1018c99a7271005d9bb1bad2 (diff)
downloadbarebox-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.h1
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;
};