summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/usb.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-07-10 13:48:41 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-18 14:50:20 +0200
commit16e1d3899cfab2d1d5883372b0c5563dd5697b4b (patch)
treeb8914e8cdee6a1966780eb88ba3610467b8c3d0e /drivers/usb/core/usb.h
parent7c8c7e5ff344ffb4df21853101731f7d939a2fdd (diff)
downloadbarebox-16e1d3899cfab2d1d5883372b0c5563dd5697b4b.tar.gz
barebox-16e1d3899cfab2d1d5883372b0c5563dd5697b4b.tar.xz
USB: host: hub: Turn into a driver
Since we have a driver model we can make the hub driver a real driver model driver. Put it into a new file to separate the hub from the USB core stuff. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/core/usb.h')
-rw-r--r--drivers/usb/core/usb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h
new file mode 100644
index 0000000000..3e79407d78
--- /dev/null
+++ b/drivers/usb/core/usb.h
@@ -0,0 +1,7 @@
+#ifndef __CORE_USB_H
+#define __CORE_USB_H
+
+struct usb_device *usb_alloc_new_device(void);
+int usb_new_device(struct usb_device *dev);
+
+#endif /* __CORE_USB_H */