--- In [email protected], Edwin van den Oetelaar <[EMAIL PROTECTED]> 
wrote:
> Happend here too.
> This code -> /arch/cris/arch-v10/drivers/gpio.c
> 
>    if (request_irq(TIMER0_IRQ_NBR, gpio_poll_timer_interrupt,
>                           SA_SHIRQ | SA_INTERRUPT,"gpio poll", NULL)) {
>                   printk(KERN_CRIT "err: timer0 irq for gpio\n");
>           }
>           if (request_irq(PA_IRQ_NBR, gpio_pa_interrupt,
>                           SA_SHIRQ | SA_INTERRUPT,"gpio PA", NULL)) {
>                   printk(KERN_CRIT "err: PA irq for gpio\n");
>           }
> 
> 
> this should be more like :
> 
> if (request_irq(PA_IRQ_NBR, gpio_pa_interrupt,SA_SHIRQ |
SA_INTERRUPT, gpio_name, gpio_pa_interrupt)) {
> // look at last parameter it is NOT NULL
> 
> etc
> 
> see also this patch
> 
> http://mhonarc.axis.se/dev-etrax/msg07835.html
> 
> Good luck.
> Edwin van den Oetelaar
>

Hi Edwin,

Indeed, when not using the NULL pointers but a valid pointer, it's
working fine.  

However, I've seen code on the net (not related to FoxBoard, but
related to Linux) where indeed NULL pointers are used and I suppose
it's working in that case too...

Anyhow, I don't have the error message any more.

Best rgds,

--Geert

Reply via email to