* [PATCH] ARM: imx: fix ‘arm_pm_idle’ undeclared error
@ 2012-03-30 6:24 Shawn Guo
0 siblings, 0 replies; only message in thread
From: Shawn Guo @ 2012-03-30 6:24 UTC (permalink / raw)
To: linux-arm-kernel
Add missing #include <asm/system_misc.h> to fix the following compile
error.
CC arch/arm/mach-imx/mm-imx5.o
arch/arm/mach-imx/mm-imx5.c: In function ?imx51_init_early?:
arch/arm/mach-imx/mm-imx5.c:105:2: error: ?arm_pm_idle? undeclared (first use in this function)
arch/arm/mach-imx/mm-imx5.c:105:2: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
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..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>
--
1.7.5.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-30 6:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-30 6:24 [PATCH] ARM: imx: fix ‘arm_pm_idle’ undeclared error Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).