/* They are not meant to be called directly, but via enable/disable_irq.  */
static void ecard_irq_unmask(unsigned int irqnr)
/* They are not meant to be called directly, but via enable/disable_irq.  */
static void ecard_irq_unmask(unsigned int irqnr)
{
	ecard_t *ec = slot_to_ecard(irqnr - 32);
	if (ec) {
		if (!ec->ops)
			ec->ops = &ecard_default_ops;
		if (ec->claimed && ec->ops->irqenable)
			ec->ops->irqenable(ec, irqnr);
		else
			printk(KERN_ERR "ecard: rejecting request to "
				"enable IRQs for %d\n", irqnr);
	}
}