PLEA: Please fix mach/gpio.h includes (was: Re: [RFC PATCH 2/2] GPIO: add gpiolib and irqchip for CSR SiRFprimaII GPIO controller)
From: Nicolas Pitre <hidden>
Date: 2011-07-26 19:10:05
From: Nicolas Pitre <hidden>
Date: 2011-07-26 19:10:05
On Tue, 26 Jul 2011, Russell King - ARM Linux wrote:
I don't think there's any plans to break the: linux/gpio.h -> asm/gpio.h -> mach/gpio.h include path at the moment, as platforms do define ARCH_NR_GPIO, which has to be done before asm-generic/gpiolib.h is included.
Well, this GPIO business is the biggest hurdle towards a single kernel image that can support multiple SOCs at the moment, and the only one for which I have no solution yet. Anything that could help removing mach/gpio.h from asm/gpio.h would be welcome. Nicolas