Skip to contentSkip to conversation

ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled

PATCH New Tomasz Figa 2 participants 2 messages Jan 10, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled

Recently the regs-syscon-power.h header was moved from mach-s3c64xx/include/mach to mach-s3c64xx/, but cpuidle.c was not updated to include the header from its new location, which caused build error with CONFIG_CPU_IDLE enabled.

This patch fixed the problem by updating the include line with proper header location.

---
 arch/arm/mach-s3c64xx/cpuidle.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-s3c64xx/cpuidle.c +1 -2
index e3e455b..50c66fe 100644
@@ -20,8 +20,7 @@
 
 #include <mach/map.h>
 
-#include <mach/regs-syscon-power.h>
-
+#include "regs-syscon-power.h"
 #include "regs-sys.h"
 
 static int s3c64xx_enter_idle(struct cpuidle_device *dev,
Signature · 1 line
1.8.1
#1 lore raw

PATCH 1/1 ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled

Quoted 30 lines · Tomasz Figa

Recently the regs-syscon-power.h header was moved from mach-s3c64xx/include/mach to mach-s3c64xx/, but cpuidle.c was not updated to include the header from its new location, which caused build error with CONFIG_CPU_IDLE enabled.

This patch fixed the problem by updating the include line with proper header location.

---
 arch/arm/mach-s3c64xx/cpuidle.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach- renamed from arch/arm/mach-s3c64xx/cpuidle.c +0 -0

s3c64xx/cpuidle.c
index e3e455b..50c66fe 100644

arch/arm/mach-s3c64xx/cpuidle.c +1 -3
@@ -20,8 +20,7 @@
 
 #include <mach/map.h>
 
-#include <mach/regs-syscon-power.h>
-
+#include "regs-syscon-power.h"
 #include "regs-sys.h"
 
 static int s3c64xx_enter_idle(struct cpuidle_device *dev,
--
Quoted 1 line

1.8.1

Oops, yes right. Thanks for your fix :-)

Will apply.

- Kukjin