* [PATCH] ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled
@ 2013-01-10 0:39 Tomasz Figa
2013-01-10 0:44 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Figa @ 2013-01-10 0:39 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled
2013-01-10 0:39 [PATCH] ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled Tomasz Figa
@ 2013-01-10 0:44 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2013-01-10 0:44 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-10 0:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 0:39 [PATCH] ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled Tomasz Figa
2013-01-10 0:44 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox