Browse Source

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 <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ravishankar karkala Mallikarjunayya 13 years ago
parent
commit
73b12a5bc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/comedi/drivers/ni_daq_dio24.c

+ 1 - 1
drivers/staging/comedi/drivers/ni_daq_dio24.c

@@ -52,7 +52,7 @@ the PCMCIA interface.
 #include <pcmcia/cisreg.h>
 #include <pcmcia/ds.h>
 
-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 */