Skip to contentSkip to conversation

ARM: mach-imx: Include <asm/system_misc.h>

PATCH New Fabio Estevam 2 participants 2 messages Mar 30, 2012

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: mach-imx: Include <asm/system_misc.h>

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.

---
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(-)
arch/arm/mach-imx/mm-imx3.c +1 -0
index d534d7f..1da77fa 100644
@@ -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>
arch/arm/mach-imx/mm-imx5.c +1 -0
index 51af9fa..ac8e35c 100644
@@ -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>
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 ARM: mach-imx: Include <asm/system_misc.h>

Quoted 6 lines · Fabio Estevam

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.

Quoted 44 lines

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.

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

arch/arm/mach-imx/mm-imx3.c +0 -0
index d534d7f..1da77fa 100644
@@ -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>

arch/arm/mach-imx/mm-imx5.c +0 -0
index 51af9fa..ac8e35c 100644
@@ -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