Re: [PATCH 3/3] MIPS: BCM47xx: rewrite GPIO handling and use gpiolib
From: John Crispin <john@phrozen.org>
Date: 2012-08-14 12:56:57
From: John Crispin <john@phrozen.org>
Date: 2012-08-14 12:56:57
Hi Hauke,
int gpio_to_irq(unsigned gpio) {@@ -99,4 +216,11 @@ int gpio_to_irq(unsigned gpio) } return -EINVAL; } -EXPORT_SYMBOL_GPL(gpio_to_irq); +EXPORT_SYMBOL(gpio_to_irq);
can you change this to use gpio_chip.to_irq() and then #define gpio_to_irq __gpio_to_irq inside your gpio.h ? Thanks, John