]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: comedi: fix initialise statics to 0 or NULL issue in ni_daq_dio24.c
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Mon, 21 Nov 2011 10:36:59 +0000 (16:06 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:51:40 +0000 (18:51 -0800)
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>
drivers/staging/comedi/drivers/ni_daq_dio24.c

index 49b824c7bd2eb2820df373a2aa1af3947074a76e..381ea6ca3aa9e95609c03540b5e4accb0dfc2c77 100644 (file)
@@ -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 */