On Thu, Sep 6, 2012 at 9:42 PM, Rob Herring [off-list ref] wrote:
From: Rob Herring <redacted>
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 <redacted>
Cc: Russell King <redacted>
Didn't I ACK this before? Oh well.
Acked-by: Linus Walleij <redacted>
Yours,
Linus Walleij