Index: drivers/net/usb/gobi/structs.h |
diff --git a/drivers/net/usb/gobi/structs.h b/drivers/net/usb/gobi/structs.h |
index 7a89c5c05394b7702029a04071f9f7da5181f91f..13b378832eeaf11675bf98cf349c2a7fb6540e3f 100644 |
--- a/drivers/net/usb/gobi/structs.h |
+++ b/drivers/net/usb/gobi/structs.h |
@@ -25,6 +25,7 @@ |
#include <linux/usb.h> |
#include <linux/version.h> |
#include <linux/cdev.h> |
+#include <linux/kobject.h> |
#include <linux/kthread.h> |
#include <linux/usb/usbnet.h> |
@@ -78,12 +79,15 @@ enum { |
}; |
struct qcusbnet { |
+ struct list_head node; |
+ struct kref refcount; |
struct usbnet *usbnet; |
struct usb_interface *iface; |
int (*open)(struct net_device *); |
int (*stop)(struct net_device *); |
unsigned long down; |
bool valid; |
+ bool dying; |
struct qmidev qmi; |
char meid[14]; |
struct worker worker; |