[PATCH] ARM: tegra: Fix <mach/gpio.h> to have necessary #includes

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Aug 11 15:36:07 EDT 2011


On Thu, Aug 11, 2011 at 12:05:52PM -0600, Stephen Warren wrote:
> Without this, EINVAL isn't defined, and type bool isn't declared.
> This leads to compilation failures.

An alternative approach would be to convert tegra to be able to use
the gpiolib __gpio_to_irq() for the on-SoC stuff, and eliminate
irq_to_gpio().

Would it be possible to do that instead?



More information about the linux-arm-kernel mailing list