[PATCH v2 6/6] ARM: make mach/gpio.h headers optional
linus.walleij at linaro.org
Wed Sep 12 17:05:32 EDT 2012
On Thu, Sep 6, 2012 at 9:42 PM, Rob Herring <robherring2 at gmail.com> wrote:
> From: Rob Herring <rob.herring at calxeda.com>
> Most platforms don't need mach/gpio.h and it prevents multi-platform
> kernel images. Add CONFIG_NEED_MACH_GPIO_H and make platforns select it
> if they need gpio.h. This is platforms that define __GPIOLIB_COMPLEX
> or have lots of implicit includes pulled in by mach/gpio.h.
> at91 and omap have gpio clean-up pending and can drop
> CONFIG_NEED_MACH_GPIO_H once that is in.
> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
> Cc: Russell King <linux at arm.linux.org.uk>
Didn't I ACK this before? Oh well.
Acked-by: Linus Walleij <linus.walleij at linaro.org>
More information about the linux-arm-kernel