From: David Schleef Date: Tue, 16 Jan 2001 19:24:56 +0000 (+0000) Subject: fixed unresolved symbols X-Git-Tag: r0_7_55~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=65ad7a2f532659d72388624f7aebe8c1d2588a5c;p=comedi.git fixed unresolved symbols --- diff --git a/comedi/kcomedilib/data.c b/comedi/kcomedilib/data.c index e885f232..6aa42f33 100644 --- a/comedi/kcomedilib/data.c +++ b/comedi/kcomedilib/data.c @@ -73,7 +73,7 @@ int comedi_data_write(unsigned int dev,unsigned int subdev,unsigned int chan, cmd.chanlist = &chan; - return comedi_trig_ioctl(dev,subdev,&cmd); + return comedi_trigger(dev,subdev,&cmd); #endif } @@ -108,7 +108,7 @@ int comedi_data_read(unsigned int dev,unsigned int subdev,unsigned int chan, cmd.chanlist = &chan; - ret = comedi_trig_ioctl(dev,subdev,&cmd); + ret = comedi_trigger(dev,subdev,&cmd); *data = sdata; diff --git a/comedi/kcomedilib/dio.c b/comedi/kcomedilib/dio.c index 2d9da7ad..cfffa260 100644 --- a/comedi/kcomedilib/dio.c +++ b/comedi/kcomedilib/dio.c @@ -72,7 +72,7 @@ int comedi_dio_config(unsigned int dev,unsigned int subdev,unsigned int chan, cmd.chanlist = &chan; - return comedi_trig_ioctl(dev,subdev,&cmd); + return comedi_trigger(dev,subdev,&cmd); #endif } @@ -104,7 +104,7 @@ int comedi_dio_read(unsigned int dev,unsigned int subdev,unsigned int chan, cmd.data_len = sizeof(sampl_t); cmd.chanlist = &chan; - ret = comedi_trig_ioctl(dev,subdev,&cmd); + ret = comedi_trigger(dev,subdev,&cmd); *val = sdata; @@ -141,7 +141,7 @@ int comedi_dio_write(unsigned int dev,unsigned int subdev,unsigned int chan, cmd.data_len = sizeof(sampl_t); cmd.chanlist = &chan; - ret = comedi_trig_ioctl(dev,subdev,&cmd); + ret = comedi_trigger(dev,subdev,&cmd); return ret; #endif diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index 7f228fbe..0c78ec76 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -512,7 +512,7 @@ cleanup: checks. Any insanity in code calling this function must be assumed by the writer. */ -int __comedi_trig_ioctl(unsigned int minor,unsigned int subdev,comedi_trig *it) +int __comedi_trigger(unsigned int minor,unsigned int subdev,comedi_trig *it) { comedi_device *dev; comedi_subdevice *s; @@ -853,10 +853,11 @@ EXPORT_SYMBOL(comedi_get_n_ranges); //EXPORT_SYMBOL(comedi_maxdata_is_chan_specific); EXPORT_SYMBOL(comedi_cancel); EXPORT_SYMBOL(comedi_trigger); +EXPORT_SYMBOL(__comedi_trigger); //EXPORT_SYMBOL(comedi_command); //EXPORT_SYMBOL(comedi_command_test); //EXPORT_SYMBOL(comedi_do_insnlist); -//EXPORT_SYMBOL(comedi_do_insn); +EXPORT_SYMBOL(comedi_do_insn); EXPORT_SYMBOL(comedi_lock); EXPORT_SYMBOL(comedi_unlock); //EXPORT_SYMBOL(comedi_to_phys);