diff options
Diffstat (limited to 'drivers/w1/w1.h')
-rw-r--r-- | drivers/w1/w1.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h index e8c96e6e7418..6caccfc97cdf 100644 --- a/drivers/w1/w1.h +++ b/drivers/w1/w1.h | |||
@@ -41,8 +41,7 @@ struct w1_reg_num | |||
41 | 41 | ||
42 | #include <linux/completion.h> | 42 | #include <linux/completion.h> |
43 | #include <linux/device.h> | 43 | #include <linux/device.h> |
44 | 44 | #include <linux/mutex.h> | |
45 | #include <asm/semaphore.h> | ||
46 | 45 | ||
47 | #include "w1_family.h" | 46 | #include "w1_family.h" |
48 | 47 | ||
@@ -171,7 +170,7 @@ struct w1_master | |||
171 | long flags; | 170 | long flags; |
172 | 171 | ||
173 | struct task_struct *thread; | 172 | struct task_struct *thread; |
174 | struct semaphore mutex; | 173 | struct mutex mutex; |
175 | 174 | ||
176 | struct device_driver *driver; | 175 | struct device_driver *driver; |
177 | struct device dev; | 176 | struct device dev; |