add user_data param in host class for users

This commit is contained in:
sakumisu
2024-04-24 22:40:55 +08:00
parent a3302584ce
commit 23e2787a43
15 changed files with 36 additions and 6 deletions

View File

@@ -50,6 +50,8 @@ struct usbh_rtl8152 {
void (*autosuspend_en)(struct usbh_rtl8152 *tp, bool enable);
void (*change_mtu)(struct usbh_rtl8152 *tp);
} rtl_ops;
void *user_data;
};
#ifdef __cplusplus