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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=73b12a5bc0d3b37bd57227b88065ad7024b1720e;p=mv-sheeva.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 49b824c7bd2..381ea6ca3aa 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 */