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

index ca033de4a4e28b52d5a11d2acaa2b74f049d1d8d..4e134e9d06ccc642ced2a7414c54c8cf61ac372c 100644 (file)
@@ -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 {