From: Ravishankar karkala Mallikarjunayya Date: Thu, 8 Dec 2011 12:51:56 +0000 (+0530) Subject: Staging: comedi: fix initialise statics to 0 or NULL issue in cb_das16_cs.c X-Git-Tag: next-20111212~12^2~6^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=036f419529d4dd83a1d46de04551d60994d1f372;p=karo-tx-linux.git Staging: comedi: fix initialise statics to 0 or NULL issue in cb_das16_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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c b/drivers/staging/comedi/drivers/cb_das16_cs.c index 9beb34c45b60..49404f49f7b7 100644 --- a/drivers/staging/comedi/drivers/cb_das16_cs.c +++ b/drivers/staging/comedi/drivers/cb_das16_cs.c @@ -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),