On Tue, Jul 15, 2008 at 08:43:59PM -0700, Duy-Ky Nguyen wrote:
Hi Dave,
I've just tried it and it failed.
Could you elaborate on exactly what you tried? Did you pass the GPIO device
tree node?
Before I had tried using the function
int virq = of_irq_to_resource(GPIO_IRQ, 0, NULL);
and it failed the same way
The first argument of of_irq_to_resource is a device node pointer, not an
IRQ number. Surely the compiler warned you about this.
-Scott