* [PATCH] ARM: mach-imx: Include <asm/system_misc.h>
@ 2012-03-30 21:26 Fabio Estevam
2012-03-30 22:04 ` Paul Gortmaker
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-03-30 21:26 UTC (permalink / raw)
To: linux-arm-kernel
Fix the following build error:
arch/arm/mach-imx/mm-imx3.c:138:2: error: 'arm_pm_idle' undeclared (first use in this function)
arch/arm/mach-imx/mm-imx3.c:210:2: error: 'arm_pm_idle' undeclared (first use in this function)
make[2]: *** [arch/arm/mach-imx/mm-imx3.o] Error 1
arch/arm/mach-imx/mm-imx5.c:105:2: error: 'arm_pm_idle' undeclared (first use in this function)
This was caused by commit 4a3ea24 (ARM: plat-mxc: hook special idle handlers to arm_pm_idle)
Include <asm/system_misc.h> to avoid the build error.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
This applies against linux-next
arch/arm/mach-imx/mm-imx3.c | 1 +
arch/arm/mach-imx/mm-imx5.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
index d534d7f..1da77fa 100644
--- a/arch/arm/mach-imx/mm-imx3.c
+++ b/arch/arm/mach-imx/mm-imx3.c
@@ -23,6 +23,7 @@
#include <asm/pgtable.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/mach/map.h>
+#include <asm/system_misc.h>
#include <mach/common.h>
#include <mach/devices-common.h>
diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c
index 51af9fa..ac8e35c 100644
--- a/arch/arm/mach-imx/mm-imx5.c
+++ b/arch/arm/mach-imx/mm-imx5.c
@@ -16,6 +16,7 @@
#include <linux/clk.h>
#include <asm/mach/map.h>
+#include <asm/system_misc.h>
#include <mach/hardware.h>
#include <mach/common.h>
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: mach-imx: Include <asm/system_misc.h>
2012-03-30 21:26 [PATCH] ARM: mach-imx: Include <asm/system_misc.h> Fabio Estevam
@ 2012-03-30 22:04 ` Paul Gortmaker
0 siblings, 0 replies; 2+ messages in thread
From: Paul Gortmaker @ 2012-03-30 22:04 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 30, 2012 at 5:26 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Fix the following build error:
>
> arch/arm/mach-imx/mm-imx3.c:138:2: error: 'arm_pm_idle' undeclared (first use in this function)
> arch/arm/mach-imx/mm-imx3.c:210:2: error: 'arm_pm_idle' undeclared (first use in this function)
> make[2]: *** [arch/arm/mach-imx/mm-imx3.o] Error 1
> arch/arm/mach-imx/mm-imx5.c:105:2: error: 'arm_pm_idle' undeclared (first use in this function)
Olof has already fixed them all in bulk.
http://marc.info/?l=linux-arm-kernel&m=133311840811220&w=2
Paul.
>
> This was caused by commit 4a3ea24 (ARM: plat-mxc: hook special idle handlers to arm_pm_idle)
>
> Include <asm/system_misc.h> to avoid the build error.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> This applies against linux-next
> ?arch/arm/mach-imx/mm-imx3.c | ? ?1 +
> ?arch/arm/mach-imx/mm-imx5.c | ? ?1 +
> ?2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
> index d534d7f..1da77fa 100644
> --- a/arch/arm/mach-imx/mm-imx3.c
> +++ b/arch/arm/mach-imx/mm-imx3.c
> @@ -23,6 +23,7 @@
> ?#include <asm/pgtable.h>
> ?#include <asm/hardware/cache-l2x0.h>
> ?#include <asm/mach/map.h>
> +#include <asm/system_misc.h>
>
> ?#include <mach/common.h>
> ?#include <mach/devices-common.h>
> diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c
> index 51af9fa..ac8e35c 100644
> --- a/arch/arm/mach-imx/mm-imx5.c
> +++ b/arch/arm/mach-imx/mm-imx5.c
> @@ -16,6 +16,7 @@
> ?#include <linux/clk.h>
>
> ?#include <asm/mach/map.h>
> +#include <asm/system_misc.h>
>
> ?#include <mach/hardware.h>
> ?#include <mach/common.h>
> --
> 1.7.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-30 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30 21:26 [PATCH] ARM: mach-imx: Include <asm/system_misc.h> Fabio Estevam
2012-03-30 22:04 ` Paul Gortmaker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.