lkml.org 
[lkml]   [2011]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/20] Staging: comedi: fix NULL initilization issue in pcl818.c
    Date
    This is a patch to the pcl818.c file that fixes up a NULL initilization
    warning found by the checkpatch.pl tool.

    Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
    ---
    drivers/staging/comedi/drivers/pcl818.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c
    index ca033de..4e134e9 100644
    --- a/drivers/staging/comedi/drivers/pcl818.c
    +++ b/drivers/staging/comedi/drivers/pcl818.c
    @@ -252,8 +252,8 @@ static int pcl818_attach(struct comedi_device *dev,
    static int pcl818_detach(struct comedi_device *dev);

    #ifdef unused
    -static int RTC_lock = 0; /* RTC lock */
    -static int RTC_timer_lock = 0; /* RTC int lock */
    +static int RTC_lock; /* RTC lock */
    +static int RTC_timer_lock; /* RTC int lock */
    #endif

    struct pcl818_board {
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2011-11-08 12:19    [W:3.006 / U:0.396 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site