From: Frank Mori Hess Date: Sun, 16 Sep 2001 19:29:51 +0000 (+0000) Subject: fixed symbol leak, and settings of SDF_GROUND subdevice flag X-Git-Tag: r0_7_61~82 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9423092ab9e425d0a370de68aff504712a35069;p=comedi.git fixed symbol leak, and settings of SDF_GROUND subdevice flag --- diff --git a/comedi/drivers/das800.c b/comedi/drivers/das800.c index 332e93ea..e8a442ec 100644 --- a/comedi/drivers/das800.c +++ b/comedi/drivers/das800.c @@ -263,7 +263,7 @@ static int das800_attach(comedi_device *dev,comedi_devconfig *it); static int das800_detach(comedi_device *dev); static int das800_cancel(comedi_device *dev, comedi_subdevice *s); -comedi_driver driver_das800={ +static comedi_driver driver_das800={ driver_name: "das800", module: THIS_MODULE, attach: das800_attach, @@ -536,7 +536,7 @@ static int das800_attach(comedi_device *dev, comedi_devconfig *it) s = dev->subdevices + 0; dev->read_subdev = s; s->type = COMEDI_SUBD_AI; - s->subdev_flags = SDF_READABLE; + s->subdev_flags = SDF_READABLE | SDF_GROUND; s->n_chan = 8; s->len_chanlist = 8; s->maxdata = (1 << thisboard->resolution) - 1;