]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/gadget/ether.c
usb: lthor: Specify correct parameter for sizeof type
[u-boot] / drivers / usb / gadget / ether.c
index 850ba029ab7df5ec5752ca43bcb3b9c46d6186dd..c5e35ee35077a37cca9a623c77c835dc75542bb2 100644 (file)
@@ -17,6 +17,7 @@
 #include <net.h>
 #include <usb.h>
 #include <malloc.h>
+#include <memalign.h>
 #include <linux/ctype.h>
 
 #include "gadget_chips.h"
@@ -2505,6 +2506,7 @@ static struct usb_gadget_driver eth_driver = {
        .unbind         = eth_unbind,
 
        .setup          = eth_setup,
+       .reset          = eth_disconnect,
        .disconnect     = eth_disconnect,
 
        .suspend        = eth_suspend,