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 <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
这个提交包含在:
Rob Herring
2012-08-28 13:06:41 -05:00
父节点 ce91574c20
当前提交 01464226ac
修改 25 个文件,包含 23 行新增85 行删除

查看文件

@@ -1,2 +0,0 @@
/* empty */