From: YAMANE Toshiaki Date: Thu, 1 Nov 2012 02:39:03 +0000 (+0900) Subject: staging/comedi: fix the initialize statics issue in drivers/ni_mio_cs.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d03bf7ad255cc29204b06761e5f8c3adb3173024;p=linux-beck.git staging/comedi: fix the initialize statics issue in drivers/ni_mio_cs.c fixed below checkpatch error. - ERROR: do not initialise statics to 0 or NULL Signed-off-by: YAMANE Toshiaki Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c index 69a42c5dddc8..f8446849b2eb 100644 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c @@ -251,7 +251,7 @@ static void mio_cs_config(struct pcmcia_device *link); static void cs_release(struct pcmcia_device *link); static void cs_detach(struct pcmcia_device *); -static struct pcmcia_device *cur_dev = NULL; +static struct pcmcia_device *cur_dev; static int cs_attach(struct pcmcia_device *link) {