[PATCH] ARM: imx: fix compile error on missing arm_pm_idle

Paul Gortmaker paul.gortmaker at windriver.com
Fri Mar 30 14:51:05 EDT 2012


On 12-03-30 02:42 PM, Paul Gortmaker wrote:
> This shows up in imx_v6_v7_defconfig build:

Ignore this patch.  I see Olof has already fixed them in bulk.

http://marc.info/?l=linux-arm-kernel&m=133311840811220&w=2

Thanks,
Paul.

> 
> arch/arm/mach-imx/mm-imx3.c: In function 'imx31_init_early':
> arch/arm/mach-imx/mm-imx3.c:138: error: 'arm_pm_idle' undeclared
> arch/arm/mach-imx/mm-imx5.c: In function 'imx51_init_early':
> arch/arm/mach-imx/mm-imx5.c:105: error: 'arm_pm_idle' undeclared
> arch/arm/mach-imx/mm-imx3.c: In function 'imx35_init_early':
> arch/arm/mach-imx/mm-imx3.c:210: error: 'arm_pm_idle' undeclared
> arch/arm/mach-imx/mm-imx5.c: In function 'imx51_init_early':
> arch/arm/mach-imx/mm-imx5.c:105: error: 'arm_pm_idle' undeclared
> 
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
> 
> diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
> index d534d7f..7412738 100644
> --- a/arch/arm/mach-imx/mm-imx3.c
> +++ b/arch/arm/mach-imx/mm-imx3.c
> @@ -21,6 +21,7 @@
>  #include <linux/err.h>
>  
>  #include <asm/pgtable.h>
> +#include <asm/system_misc.h>
>  #include <asm/hardware/cache-l2x0.h>
>  #include <asm/mach/map.h>
>  
> diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c
> index 51af9fa..05250ae 100644
> --- a/arch/arm/mach-imx/mm-imx5.c
> +++ b/arch/arm/mach-imx/mm-imx5.c
> @@ -15,6 +15,7 @@
>  #include <linux/init.h>
>  #include <linux/clk.h>
>  
> +#include <asm/system_misc.h>
>  #include <asm/mach/map.h>
>  
>  #include <mach/hardware.h>



More information about the linux-arm-kernel mailing list