[PATCH] ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled

Kukjin Kim kgene.kim at samsung.com
Wed Jan 9 19:44:26 EST 2013


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 at 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





More information about the linux-arm-kernel mailing list