diff options
-rw-r--r-- | drivers/staging/comedi/drivers/comedi_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_test.c b/drivers/staging/comedi/drivers/comedi_test.c index b8911374dcdd..01d177e70070 100644 --- a/drivers/staging/comedi/drivers/comedi_test.c +++ b/drivers/staging/comedi/drivers/comedi_test.c @@ -241,9 +241,9 @@ static int waveform_attach(comedi_device *dev, comedi_devconfig *it) s->range_table = &waveform_ai_ranges; s->len_chanlist = s->n_chan * 2; s->insn_write = waveform_ao_insn_write; - s->do_cmd = 0; - s->do_cmdtest = 0; - s->cancel = 0; + s->do_cmd = NULL; + s->do_cmdtest = NULL; + s->cancel = NULL; /* Our default loopback value is just a 0V flatline */ for (i = 0; i < s->n_chan; i++) |