[PATCH 13/15] ARM: make mach/io.h include optional

H Hartley Sweeten hartleys at visionengravers.com
Mon Feb 13 17:14:12 EST 2012


On Monday, February 13, 2012 2:43 PM, Rob Herring wrote:
>
> Add a kconfig option NEED_MACH_IO_H to conditionally include mach/io.h.
>
> Basing this on CONFIG_PCI and CONFIG_ISA doesn't quite work. Most ISA
> platforms don't need mach/io.h, but ebsa110 does. Most PCI platforms need
> mach/io.h for now, but ks8695 doesn't which means it's broken? omap has a
> lot of other stuff in its io.h, so it also needs io.h until it is cleaned
> up.
>
> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
> ---
>  arch/arm/Kconfig          |   21 +++++++++++++++++++++
>  arch/arm/include/asm/io.h |    5 +++++
>  2 files changed, 26 insertions(+), 0 deletions(-)

On EP93xx:

Tested-by: H Hartley Sweeten <hsweeten at visionengravers.com>




More information about the linux-arm-kernel mailing list