ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled
Subsystems (3)
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
@@ -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
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.hheader was moved from mach-s3c64xx/include/mach to mach-s3c64xx/, butcpuidle.cwas not updated to include the header from its new location, which caused build error withCONFIG_CPU_IDLEenabled.This patch fixed the problem by updating the include line with proper header location.
Signed-off-by Tomasz Figa <[email protected]>--- 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 100644arch/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