Skip to content

Commit

Permalink
staging/comedi: fix the initialize statics issue in drivers/ni_mio_cs.c
Browse files Browse the repository at this point in the history
fixed below checkpatch error.
- ERROR: do not initialise statics to 0 or NULL

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Nov 1, 2012
1 parent 31d7424 commit d03bf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit d03bf7a

Please sign in to comment.