On Tue, Feb 19, 2013 at 01:09:08PM +0000, Ian Abbott wrote:
> +static int setup_subdevices(struct comedi_device *dev)
> +{
> +     struct comedi_subdevice *s;
> +     int ret;
> +
> +     ret = comedi_alloc_subdevices(dev, 3);
> +             return ret;
> +

There is a missing if statement here.  (Just send a follow on patch
to fix this).

regards,
dan carpenter

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to