summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2015-04-05 13:27:44 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2015-04-05 13:27:44 +0200
commite31939e22fd87182ef496565eea4c241fb1387f9 (patch)
tree7ec725fa093588cfd931fbe2a6396d332ba1d593
parentefa0baa458ba609e9e2fc116d4fe57f39d72eba9 (diff)
downloadsecure-hid-e31939e22fd87182ef496565eea4c241fb1387f9.tar.gz
secure-hid-e31939e22fd87182ef496565eea4c241fb1387f9.tar.bz2
secure-hid-e31939e22fd87182ef496565eea4c241fb1387f9.zip
usbh_hubbed: reorder items in _usbh_dev_driver struct
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
-rw-r--r--include/usbh_hubbed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usbh_hubbed.h b/include/usbh_hubbed.h
index 3125165..f99108d 100644
--- a/include/usbh_hubbed.h
+++ b/include/usbh_hubbed.h
@@ -54,8 +54,8 @@ struct _usbh_dev_driver_info {
typedef struct _usbh_dev_driver_info usbh_dev_driver_info_t;
struct _usbh_dev_driver {
- bool (*analyze_descriptor)(void *drv, void *descriptor);
void *(*init)(void *usbh_dev);
+ bool (*analyze_descriptor)(void *drv, void *descriptor);
void (*poll)(void *drvdata, uint32_t time_curr_us);
void (*remove)(void *drvdata);
const usbh_dev_driver_info_t * const info;