]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: comedi: fix initialise statics to 0 or NULL issue in cb_das16_cs.c
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Thu, 8 Dec 2011 12:51:56 +0000 (18:21 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 00:05:21 +0000 (16:05 -0800)
This is a patch to the cb_das16_cs.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/cb_das16_cs.c

index 9beb34c45b602fd9af42356559e3b0fe103a9b52..49404f49f7b7dbf335b04d7fea787c4358171091 100644 (file)
@@ -99,7 +99,7 @@ static struct comedi_driver driver_das16cs = {
        .detach = das16cs_detach,
 };
 
-static struct pcmcia_device *cur_dev = NULL;
+static struct pcmcia_device *cur_dev;
 
 static const struct comedi_lrange das16cs_ai_range = { 4, {
                                                           RANGE(-10, 10),