Results 1 to 1 of 1
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 ...
- 07-29-2008 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 29
ARM's timer driver error
HI .
i am tying to build this module that generates periodic interrupts from a ARM's timer 2.
i defined interrupt like that:
and the handler is :Code:request_irq( IRQ_EP93XX_TIMER2, interrupt_tick_update, 0,"t2int",NULL);
and i get this when i compile:irqreturn_t interrupt_tick_update(int irq, void *dev_id, struct pt_regs *regs)
{
Tick_count_G++;
printk(<1>"Tick count %d" Tick_count_G++);
return IRQ_HANDLED ;
}
any hints?warning: passing argument 2 of 'request_irq' from incompatible pointer type
thanks


Reply With Quote
