On Sat, Feb 04, 2012 at 06:06:32PM +0100, Sam Ravnborg wrote: > There is an even simpler solution. > For each arch that uses asm-generic/gpio.h add a line > to arch/$ARCH/include/asm/Kbuild like this: > generic-y += gpio.h > This will then make this arch pick up the asm-generic version when > you do #include <asm/gpio.h>. > And you avoid the kconfig games. Hrm, that would work but it does mean we still need to go round and manually enable GPIO support on all architectures which is what I had been trying to get away from. It is a lot simpler though so it should be much easier to persuade the architecture maintainers to do that.
Attachment:
signature.asc
Description: Digital signature