From: Ravishankar karkala Mallikarjunayya Date: Sat, 19 Nov 2011 04:36:53 +0000 (+0530) Subject: Staging: comedi: fix initialise statics to 0 or NULL issue in pcl816.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b147ed60775ff976f2a0724fa643f9b508bc8652;p=mv-sheeva.git Staging: comedi: fix initialise statics to 0 or NULL issue in pcl816.c This is a patch to the pcl816.c file that fixes up a initialise statics to 0 or NULL warning found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c index 0b9bee36eb5..96cd7ec2ad5 100644 --- a/drivers/staging/comedi/drivers/pcl816.c +++ b/drivers/staging/comedi/drivers/pcl816.c @@ -155,8 +155,8 @@ static int pcl816_attach(struct comedi_device *dev, static int pcl816_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 static struct comedi_driver driver_pcl816 = {