lkml.org 
[lkml]   [2010]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/15] mt9d112: Convert the semaphore mess.
    Date
    init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away.

    Signed-off-by: John Kacur <jkacur@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


    \
     
     \ /
      Last update: 2010-01-11 21:57    [W:3.472 / U:0.012 seconds]
    ©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site