]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/dream/camera/mt9t013.c
staging: Final semaphore cleanup
[net-next-2.6.git] / drivers / staging / dream / camera / mt9t013.c
index 8fd7727ba234ee6636205f08e02a4a7f3080d051..75e78aa528201765d0fb8a7963fac22c63d64e0c 100644 (file)
@@ -123,7 +123,7 @@ struct mt9t013_ctrl {
 
 static struct mt9t013_ctrl *mt9t013_ctrl;
 static DECLARE_WAIT_QUEUE_HEAD(mt9t013_wait_queue);
-DECLARE_MUTEX(mt9t013_sem);
+DEFINE_SEMAPHORE(mt9t013_sem);
 
 extern struct mt9t013_reg mt9t013_regs; /* from mt9t013_reg.c */