aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/media/se401.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/media/se401.h')
-rw-r--r--drivers/usb/media/se401.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/media/se401.h b/drivers/usb/media/se401.h
index 2e5846f..e88a40d 100644
--- a/drivers/usb/media/se401.h
+++ b/drivers/usb/media/se401.h
@@ -5,6 +5,7 @@
#include <asm/uaccess.h>
#include <linux/videodev.h>
#include <linux/smp_lock.h>
+#include <linux/mutex.h>
#define se401_DEBUG /* Turn on debug messages */
@@ -189,7 +190,7 @@ struct usb_se401 {
int maxframesize;
int cframesize; /* current framesize */
- struct semaphore lock;
+ struct mutex lock;
int user; /* user count for exclusive use */
int removed; /* device disconnected */