Thread (5 messages) 5 messages, 3 authors, 2012-02-06

Re: [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h

From: Mark Brown <hidden>
Date: 2012-02-04 17:21:27
Also in: linux-arch, linux-m68k, linux-mips, lkml

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.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help