summaryrefslogtreecommitdiff
path: root/drivers/char/mbcs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/mbcs.h')
-rw-r--r--drivers/char/mbcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mbcs.h b/drivers/char/mbcs.h
index c9905a3c3353..d4d97abbce7f 100644
--- a/drivers/char/mbcs.h
+++ b/drivers/char/mbcs.h
@@ -539,7 +539,7 @@ struct mbcs_soft {
atomic_t algo_done;
struct semaphore dmawritelock;
struct semaphore dmareadlock;
- struct semaphore algolock;
+ struct mutex algolock;
};
static int mbcs_open(struct inode *ip, struct file *fp);