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..c0e28a070b52960c60766a4d14aff88772f620a9 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 mutex lock; |
+ 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; |