HI .
i am tying to build this module that generates periodic interrupts from a ARM's timer 2.
i defined interrupt like that:
Code:
request_irq( IRQ_EP93XX_TIMER2, interrupt_tick_update, 0,"t2int",NULL);
and the handler is :
irqreturn_t interrupt_tick_update(int irq, void *dev_id, struct pt_regs *regs)
{
Tick_count_G++;
printk(<1>"Tick count &#37;d" Tick_count_G++);
return IRQ_HANDLED ;
}
and i get this when i compile:
warning: passing argument 2 of 'request_irq' from incompatible pointer type
any hints?
thanks