Skip to content
Snippets Groups Projects
Commit 01464226 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ce91574c
No related branches found
No related tags found
Loading
Showing
with 23 additions and 80 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment