]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: make mach/io.h include optional
authorRob Herring <rob.herring@calxeda.com>
Mon, 5 Mar 2012 04:03:33 +0000 (22:03 -0600)
committerRob Herring <rob.herring@calxeda.com>
Wed, 7 Mar 2012 03:34:43 +0000 (21:34 -0600)
commit4f68ac8cedd9fb21101a63d5c0ff0bba59cb0872
treea29acb80a05bdca36547b973229582481727ee24
parent64ed53dd8a3c44f181ba3d22d18ac513b1b53097
ARM: make mach/io.h include optional

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 i/o accesses are broken.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
arch/arm/Kconfig
arch/arm/include/asm/io.h