From: Ravishankar karkala Mallikarjunayya Date: Mon, 21 Nov 2011 10:36:59 +0000 (+0530) Subject: Staging: comedi: fix initialise statics to 0 or NULL issue in ni_daq_dio24.c X-Git-Tag: firefly_0821_release~3680^2~3804^2~101^2~217 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=73b12a5bc0d3b37bd57227b88065ad7024b1720e;p=firefly-linux-kernel-4.4.55.git Staging: comedi: fix initialise statics to 0 or NULL issue in ni_daq_dio24.c This is a patch to the ni_daq_dio24.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/ni_daq_dio24.c b/drivers/staging/comedi/drivers/ni_daq_dio24.c index 49b824c7bd2e..381ea6ca3aa9 100644 --- a/drivers/staging/comedi/drivers/ni_daq_dio24.c +++ b/drivers/staging/comedi/drivers/ni_daq_dio24.c @@ -52,7 +52,7 @@ the PCMCIA interface. #include #include -static struct pcmcia_device *pcmcia_cur_dev = NULL; +static struct pcmcia_device *pcmcia_cur_dev; #define DIO24_SIZE 4 /* size of io region used by board */