Prev: [PATCH] m68knommu: Freescale/Motorola Coldfire QSPI driver
Next: [PATCH 03/15] usbduxfast: Convert the semaphore mess
From: John Kacur on 11 Jan 2010 16:00 init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Signed-off-by: John Kacur <jkacur(a)redhat.com> --- drivers/staging/dream/camera/mt9d112.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/dream/camera/mt9d112.c b/drivers/staging/dream/camera/mt9d112.c index 4f938f9..4c21065 100644 --- a/drivers/staging/dream/camera/mt9d112.c +++ b/drivers/staging/dream/camera/mt9d112.c @@ -36,7 +36,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); /*============================================================= -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |