Skip to content

Commit

Permalink
Staging: comedi: fix initialise statics to 0 or NULL issue in cb_das1…
Browse files Browse the repository at this point in the history
…6_cs.c

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>
  • Loading branch information
Ravishankar karkala Mallikarjunayya authored and Greg Kroah-Hartman committed Dec 9, 2011
1 parent 6f2c5f3 commit 036f419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/cb_das16_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 036f419

Please sign in to comment.