PLEA: Please fix mach/gpio.h includes (was: Re: [RFC PATCH 2/2] GPIO: add gpiolib and irqchip for CSR SiRFprimaII GPIO controller)
Linus Walleij
linus.walleij at linaro.org
Mon Sep 19 05:10:01 EDT 2011
On Tuesday 09 August 2011, Barry Song wrote:
> Or do we want to delete the whole arch/arm/mach-xxx/include/mach directory?
>
> If not, it is probably that SoC can still hold some chip-specific APIs
> in arch/arm/mach-xxx/include/mach/yyy.h.
I was actually proposing patches that moved GPIO headers from
<mach/foo-gpio> to <linux/gpio/foo.h> but they were NAK:ed or
frowned upon, so I guess we're keeping the <mach/*> include
union namespace for machine/SoC-specific headers.
Now we just try to make files in this namespace have unqiue
names.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list