From: Ian Abbott Date: Wed, 3 Sep 2014 12:45:44 +0000 (+0100) Subject: staging: comedi: use CMDF_BOGUS in do_cmd_ioctl() X-Git-Tag: v3.18-rc1~130^2~725 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b0446a21bd4be9c5f27f15ea03fc0cba7d33acd6;p=karo-tx-linux.git staging: comedi: use CMDF_BOGUS in do_cmd_ioctl() `TRIG_BOGUS` is now just a synonym for `CMDF_BOGUS`. Change `do_cmd_ioctl()` to use the new name. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 9d60a39ac961..495969f46e76 100644 --- a/drivers/staging/comedi/comedi_fops.c +++ b/drivers/staging/comedi/comedi_fops.c @@ -1532,7 +1532,7 @@ static int do_cmd_ioctl(struct comedi_device *dev, ret = s->do_cmdtest(dev, s, &async->cmd); - if (async->cmd.flags & TRIG_BOGUS || ret) { + if (async->cmd.flags & CMDF_BOGUS || ret) { dev_dbg(dev->class_dev, "test returned %d\n", ret); cmd = async->cmd; /* restore chanlist pointer before copying back */