return NULL;
}
-EXPORT_SYMBOL(comedi_open,0.7.18);
+EXPORT_SYMBOL(comedi_close,0.7.18);
int comedi_close(comedi_t *it)
{
subdevice *s;
}
}
-EXPORT_SYMBOL(comedi_data_read_n,0.7.19);
+EXPORT_SYMBOL(comedi_data_read_n,0.7.18);
int comedi_data_read_n(comedi_t *it, unsigned int subdev,
unsigned int chan, unsigned int range,
unsigned int aref, lsampl_t *data, unsigned int n)
return __comedi_errno;
}
-EXPORT_SYMBOL(comedi_strerr,0.7.18);
+EXPORT_SYMBOL(comedi_strerror,0.7.18);
char *comedi_strerror(int errnum)
{
if(errnum<COMEDI_NOERROR || errnum>=COMEDI_NOERROR+n_errors)
return it->subdevices[subd].type;
}
-EXPORT_SYMBOL(comedi_get_subdevice_type,0.7.18);
+EXPORT_SYMBOL(comedi_find_subdevice_by_type,0.7.18);
int comedi_find_subdevice_by_type(comedi_t *it,int type,unsigned int subd)
{
if(!valid_subd(it,subd))
return -1;
}
-EXPORT_SYMBOL(comedi_get_read_subdevice,0.7.18);
+EXPORT_SYMBOL(comedi_get_read_subdevice,0.7.19);
int comedi_get_read_subdevice(comedi_t *dev)
{
if(!valid_dev(dev))
return dev->devinfo.read_subdevice;
}
-EXPORT_SYMBOL(comedi_get_write_subdevice,0.7.18);
+EXPORT_SYMBOL(comedi_get_write_subdevice,0.7.19);
int comedi_get_write_subdevice(comedi_t *dev)
{
if(!valid_dev(dev))
/* ioctl wrappers */
-int comedi_ioctl_debug(int fd, int request, unsigned long arg)
+int _comedi_ioctl_debug(int fd, int request, unsigned long arg)
{
int ret;
#define comedi_ioctl ioctl
-//#define comedi_ioctl comedi_ioctl_debug
+//#define comedi_ioctl _comedi_ioctl_debug
-int comedi_ioctl_debug(int,int,unsigned long);
+int _comedi_ioctl_debug(int,int,unsigned long);
/* filler routines */
return (it->subdevices[subd].subd_flags&SDF_RANGETYPE)?1:0;
}
-EXPORT_SYMBOL(comedi_sampl_to_phys,0.7.19);
+EXPORT_SYMBOL(comedi_sampl_to_phys,0.7.18);
int comedi_sampl_to_phys(double *dest, int dst_stride, sampl_t *src,
int src_stride, comedi_range *rng, lsampl_t maxdata, int n)
{
return oor;
}
-EXPORT_SYMBOL(comedi_sampl_from_phys,0.7.19);
+EXPORT_SYMBOL(comedi_sampl_from_phys,0.7.18);
int comedi_sampl_from_phys(sampl_t *dest,int dst_stride,double *src,
int src_stride, comedi_range *rng, lsampl_t maxdata, int n)
{