Staging: comedi: fix initialise statics to 0 or NULL issue in pcl816.c
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Sat, 19 Nov 2011 04:36:53 +0000 (10:06 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:50:45 +0000 (18:50 -0800)
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 <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/pcl816.c

index 0b9bee36eb5fabe2070f0aa9db243f1c28f4390d..96cd7ec2ad53ba5868baac4547fbb5923b972092 100644 (file)
@@ -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 = {