summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2016-09-06 08:40:32 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2016-09-11 13:31:47 +0200
commitb895498df9be02eba1c285c5cdc58eb088bb86fc (patch)
tree724d99c61b5a0d2cf83dc69025bc7f432869a25c /include
parentc9869466ddfab7e7f6258397d1b8863c27e37149 (diff)
downloadsecure-hid-b895498df9be02eba1c285c5cdc58eb088bb86fc.tar.gz
secure-hid-b895498df9be02eba1c285c5cdc58eb088bb86fc.tar.bz2
secure-hid-b895498df9be02eba1c285c5cdc58eb088bb86fc.zip
hub: use common code to remove device
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/driver/usbh_device_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver/usbh_device_driver.h b/include/driver/usbh_device_driver.h
index 7e013a0..03bbd3a 100644
--- a/include/driver/usbh_device_driver.h
+++ b/include/driver/usbh_device_driver.h
@@ -259,6 +259,7 @@ void usbh_write(usbh_device_t *dev, const usbh_packet_t *packet);
/* Helper functions used by device drivers */
void device_control(usbh_device_t *dev, usbh_packet_callback_t callback, const struct usb_setup_data *setup_data, void *data);
+void device_remove(usbh_device_t *dev);
END_DECLS