From: David Schleef Date: Thu, 9 Mar 2000 22:04:38 +0000 (+0000) Subject: dev->board bugfix X-Git-Tag: r0_7_41~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=afadf0af370b593320a0fd577a01b7fc5ef7d1be;p=comedi.git dev->board bugfix --- diff --git a/comedi/drivers.c b/comedi/drivers.c index c64192ec..727972bf 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -95,6 +95,7 @@ int comedi_device_attach(comedi_device *dev,comedi_devconfig *it) if(strcmp(driv->driver_name,it->board_name)) continue; } + dev->board = i; ret=driv->attach(dev,it); if(ret<0){ driv->detach(dev);