]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/dream/camera/mt9d112.c
staging: Final semaphore cleanup
[net-next-2.6.git] / drivers / staging / dream / camera / mt9d112.c
index e6f2d5124611d2202c608ed8b160d76274711cf6..27c978f8a6cd39c9608303d6aae34f65a9aad1e0 100644 (file)
@@ -37,7 +37,7 @@ struct mt9d112_ctrl {
 static struct mt9d112_ctrl *mt9d112_ctrl;
 
 static DECLARE_WAIT_QUEUE_HEAD(mt9d112_wait_queue);
-DECLARE_MUTEX(mt9d112_sem);
+DEFINE_SEMAPHORE(mt9d112_sem);
 
 
 /*=============================================================