bugfix
authorDavid Schleef <ds@schleef.org>
Fri, 28 Jul 2000 00:38:59 +0000 (00:38 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 28 Jul 2000 00:38:59 +0000 (00:38 +0000)
comedi/rtl.c

index e5b7457ff1697581d90f5d8ab74f896a475d27d1..6b12798744e7505ca5e1547b56b37bf62d403e2d 100644 (file)
@@ -153,7 +153,7 @@ static int comedi_rtl_ioctl(struct rtl_file *file,unsigned int cmd,
                int minor=file->f_minor;
                int subdev=(int)arg;
 
-               return comedi_lock_ioctl(minor,subdev);
+               return comedi_unlock_ioctl(minor,subdev);
          }
        case COMEDI_CANCEL:
          {
@@ -208,7 +208,7 @@ int get_priority_irq(struct comedi_irq_struct *it)
 
 int free_priority_irq(struct comedi_irq_struct *it)
 {
-       rtl_free_irq(it->irq);
+       rtl_free_global_irq(it->irq);
 
        return 0;
 }