summaryrefslogtreecommitdiffstats
path: root/tests/libqos/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libqos/usb.h')
-rw-r--r--tests/libqos/usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libqos/usb.h b/tests/libqos/usb.h
index 7fcd669..8fe5687 100644
--- a/tests/libqos/usb.h
+++ b/tests/libqos/usb.h
@@ -11,4 +11,7 @@ struct qhc {
void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc,
uint32_t devfn, int bar);
void uhci_port_test(struct qhc *hc, int port, uint16_t expect);
+
+void usb_test_hotplug(const char *bus_name, const int port,
+ void (*port_check)(void));
#endif
OpenPOWER on IntegriCloud