Index: drivers/net/usb/gobi/structs.h |
diff --git a/drivers/net/usb/gobi/structs.h b/drivers/net/usb/gobi/structs.h |
index e6b4c635b35466cdb7f8132ae6ed58db22e7f22c..4c8c23e09a1d4982d55faaa04b8ca7362ed82203 100644 |
--- a/drivers/net/usb/gobi/structs.h |
+++ b/drivers/net/usb/gobi/structs.h |
@@ -27,6 +27,7 @@ |
#include <linux/cdev.h> |
#include <linux/kobject.h> |
#include <linux/kthread.h> |
+#include <linux/wait.h> |
#include <linux/usb/usbnet.h> |
@@ -49,8 +50,8 @@ struct urbreq { |
struct worker { |
struct task_struct *thread; |
- int exit; |
- struct completion work; |
+ atomic_t work_count; |
+ wait_queue_head_t waitq; |
struct list_head urbs; |
spinlock_t urbs_lock; |
struct urb *active; |