From: Ravishankar karkala Mallikarjunayya Date: Sat, 19 Nov 2011 04:36:38 +0000 (+0530) Subject: Staging: comedi: fix NULL initilization issue in pcl818.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2b8731348a107e894cb3483faa10d46b1f763be4;p=mv-sheeva.git Staging: comedi: fix NULL initilization issue in pcl818.c 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c index ca033de4a4e..4e134e9d06c 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 {