Commit cad3cde3 authored by Paul Mundt's avatar Paul Mundt
Browse files

ARM: mach-shmobile: Allow GPIO chips to register IRQ mappings.



As non-PFC chips are added that may support IRQs, pass through to the
generic helper. This follows the the SH change.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5c4e0f19
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -35,12 +35,12 @@ static inline int gpio_cansleep(unsigned gpio)


static inline int gpio_to_irq(unsigned gpio)
static inline int gpio_to_irq(unsigned gpio)
{
{
	return -ENOSYS;
	return __gpio_to_irq(gpio);
}
}


static inline int irq_to_gpio(unsigned int irq)
static inline int irq_to_gpio(unsigned int irq)
{
{
	return -EINVAL;
	return -ENOSYS;
}
}


#endif /* CONFIG_GPIOLIB */
#endif /* CONFIG_GPIOLIB */