comedi_device *dev_id;
};
-static int rt_get_irq(struct comedi_irq_struct *it);
-static int rt_release_irq(struct comedi_irq_struct *it);
+static int comedi_rt_get_irq(struct comedi_irq_struct *it);
+static int comedi_rt_release_irq(struct comedi_irq_struct *it);
#define MAX_IRQ_SHARING 6
static struct comedi_irq_struct *comedi_irqs[NR_IRQS][MAX_IRQ_SHARING];
if(it->rt){
printk("real-time IRQ allocated at board removal (ignore)\n");
- rt_release_irq(it);
+ comedi_rt_release_irq(it);
}
free_irq(it->irq,it->dev_id);
comedi_spin_lock_irqsave( &dev->spinlock, flags );
if(!dev->rt)
- rt_get_irq(it);
+ comedi_rt_get_irq(it);
dev->rt++;
it->rt=1;
dev->rt--;
if(!dev->rt)
- rt_release_irq(it);
+ comedi_rt_release_irq(it);
it->rt=0;
};
/* if you need more, fix it yourself... */
-static int rt_get_irq(struct comedi_irq_struct *it)
+static int comedi_rt_get_irq(struct comedi_irq_struct *it)
{
rt_request_global_irq(it->irq,handle_void_irq_ptrs[it->irq]);
rt_startup_irq(it->irq);
return 0;
}
-static int rt_release_irq(struct comedi_irq_struct *it)
+static int comedi_rt_release_irq(struct comedi_irq_struct *it)
{
rt_shutdown_irq(it->irq);
rt_free_global_irq(it->irq);
}
#else
-static int rt_get_irq(struct comedi_irq_struct *it)
+static int comedi_rt_get_irq(struct comedi_irq_struct *it)
{
int ret;
return 0;
}
-static int rt_release_irq(struct comedi_irq_struct *it)
+static int comedi_rt_release_irq(struct comedi_irq_struct *it)
{
rt_shutdown_irq(it->irq);
rt_free_global_irq(it->irq);
return 0;
}
-static int rt_get_irq(struct comedi_irq_struct *it)
+static int comedi_rt_get_irq(struct comedi_irq_struct *it)
{
rtl_request_global_irq(it->irq,handle_rtl_irq);
return 0;
}
-static int rt_release_irq(struct comedi_irq_struct *it)
+static int comedi_rt_release_irq(struct comedi_irq_struct *it)
{
rtl_free_global_irq(it->irq);
return 0;
#endif
#ifdef CONFIG_COMEDI_PIRQ
-static int rt_get_irq(struct comedi_irq_struct *it)
+static int comedi_rt_get_irq(struct comedi_irq_struct *it)
{
int ret;
return ret;
}
-static int rt_release_irq(struct comedi_irq_struct *it)
+static int comedi_rt_release_irq(struct comedi_irq_struct *it)
{
int ret;