From d9423092ab9e425d0a370de68aff504712a35069 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 16 Sep 2001 19:29:51 +0000 Subject: [PATCH] fixed symbol leak, and settings of SDF_GROUND subdevice flag --- comedi/drivers/das800.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.26.2