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

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jun 26 19:22:23 EDT 2012


On Tue, Jun 26, 2012 at 06:55:41PM -0400, Paul Gortmaker wrote:
> 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'

I disagree, that commit doesn't - that commit is in my build tree, and:

http://www.arm.linux.org.uk/developer/build/result.php?type=build&idx=1253

It will be due to some other commit.

> 
> 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