提交 d03bf7ad 编写于 作者: Y YAMANE Toshiaki 提交者: Greg Kroah-Hartman

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: NYAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 31d7424b
...@@ -251,7 +251,7 @@ static void mio_cs_config(struct pcmcia_device *link); ...@@ -251,7 +251,7 @@ static void mio_cs_config(struct pcmcia_device *link);
static void cs_release(struct pcmcia_device *link); static void cs_release(struct pcmcia_device *link);
static void cs_detach(struct pcmcia_device *); 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) static int cs_attach(struct pcmcia_device *link)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册