[PATCH] ARM: sa1100: fix build failure on missing IOMEM

Paul Gortmaker paul.gortmaker at windriver.com
Tue Jun 26 18:55:41 EDT 2012


Introduced by commit 6686732c8b8974fafbdd7886de0fcf77cf34ec07 [linux-next]

    "ARM: sa11x0/pxa: convert OS timer registers to IOMEM"

which causes:

arch/arm/mach-sa1100/cpu-sa1100.c:153:3: error: implicit declaration of function 'IOMEM'

Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
---

Feel free to squash into original if rebasing.
Fixes http://kisskb.ellerman.id.au/kisskb/buildresult/6545966/

 arch/arm/mach-sa1100/cpu-sa1100.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-sa1100/cpu-sa1100.c b/arch/arm/mach-sa1100/cpu-sa1100.c
index 19b2053..829c6f1 100644
--- a/arch/arm/mach-sa1100/cpu-sa1100.c
+++ b/arch/arm/mach-sa1100/cpu-sa1100.c
@@ -86,6 +86,7 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/init.h>
+#include <linux/io.h>
 #include <linux/cpufreq.h>
 
 #include <asm/cputype.h>
-- 
1.7.9.1




More information about the linux-arm-kernel mailing list