diff mbox

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

Message ID 1357778378-5278-1-git-send-email-tomasz.figa@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tomasz Figa Jan. 10, 2013, 12:39 a.m. UTC
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.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
---
 arch/arm/mach-s3c64xx/cpuidle.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Kim Kukjin Jan. 10, 2013, 12:44 a.m. UTC | #1
Tomasz Figa wrote:
> 
> 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.
> 
> Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
> ---
>  arch/arm/mach-s3c64xx/cpuidle.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-s3c64xx/cpuidle.c b/arch/arm/mach-
> s3c64xx/cpuidle.c
> index e3e455b..50c66fe 100644
> --- a/arch/arm/mach-s3c64xx/cpuidle.c
> +++ b/arch/arm/mach-s3c64xx/cpuidle.c
> @@ -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,
> --
> 1.8.1

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

Will apply. 

- Kukjin
diff mbox

Patch

diff --git a/arch/arm/mach-s3c64xx/cpuidle.c b/arch/arm/mach-s3c64xx/cpuidle.c
index e3e455b..50c66fe 100644
--- a/arch/arm/mach-s3c64xx/cpuidle.c
+++ b/arch/arm/mach-s3c64xx/cpuidle.c
@@ -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,