/* NOTE: There is currently no OMAP fiq handler for Linux. Read the mailing list threads on FIQ handlers if you are planning to add a FIQ handler for OMAP.  */
static void omap_irq_set_cfg(int irq, int fiq, int priority, int trigger)
/* NOTE: There is currently no OMAP fiq handler for Linux. Read the mailing list threads on FIQ handlers if you are planning to add a FIQ handler for OMAP.  */
static void omap_irq_set_cfg(int irq, int fiq, int priority, int trigger)
{
	signed int bank;
	unsigned long val, offset;
	bank = IRQ_BANK(irq);
	fiq = bank ? 0 : (fiq & 0x1);
	val = fiq | ((priority & 0x1f) << 2) | ((trigger & 0x1) << 1);
	offset = IRQ_ILR0_REG_OFFSET + IRQ_BIT(irq) * 0x4;
	irq_bank_writel(val, bank, offset);
}