From: Rob Herring Date: Tue, 28 Aug 2012 18:06:41 +0000 (-0500) Subject: ARM: make mach/gpio.h headers optional X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~54^2~7^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01464226ac6089bd6a33f9899cc792c2355ebf39;p=pandora-kernel.git ARM: make mach/gpio.h headers optional 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 Cc: Russell King Acked-by: Jason Cooper Acked-by: Linus Walleij --- Reading git-diff-tree failed