From: Ravishankar karkala Mallikarjunayya Date: Thu, 8 Dec 2011 12:52:09 +0000 (+0530) Subject: Staging: comedi: fix initialise statics to 0 or NULL issue in dt3000.c X-Git-Tag: firefly_0821_release~3680^2~3804^2~101^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6f2c5f3852caf0afb6fae36e4f16fe765545bdb0;p=firefly-linux-kernel-4.4.55.git Staging: comedi: fix initialise statics to 0 or NULL issue in dt3000.c This is a patch to the dt3000.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/dt3000.c b/drivers/staging/comedi/drivers/dt3000.c index 6170f7bac46e..069a6916588b 100644 --- a/drivers/staging/comedi/drivers/dt3000.c +++ b/drivers/staging/comedi/drivers/dt3000.c @@ -383,7 +383,7 @@ static void dt3k_writesingle(struct comedi_device *dev, unsigned int subsys, dt3k_send_cmd(dev, CMD_WRITESINGLE); } -static int debug_n_ints = 0; +static int debug_n_ints; /* FIXME! Assumes shared interrupt is for this card. */ /* What's this debug_n_ints stuff? Obviously needs some work... */