* [PATCH] MIPS: Loongson 2F: fix broken build due incorrect includes
@ 2015-07-10 14:09 Aaro Koskinen
2015-07-13 2:30 ` Viresh Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Aaro Koskinen @ 2015-07-10 14:09 UTC (permalink / raw)
To: Ralf Baechle, Huacai Chen, linux-mips
Cc: Rafael J. Wysocki, Viresh Kumar, linux-pm, Aaro Koskinen
Commit 30ad29bb4888 ("MIPS: Loongson: Naming style cleanup and rework")
renamed mach-loongson to mach-loongson64. Some files are including
loongson.h using the asm/mach-loongson directory name, so the build
got broken. Fix by removing the directory name; the mach directory
is automatically in the include path.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
arch/mips/loongson64/lemote-2f/clock.c | 2 +-
drivers/cpufreq/loongson2_cpufreq.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c
index 462e34d..d241434 100644
--- a/arch/mips/loongson64/lemote-2f/clock.c
+++ b/arch/mips/loongson64/lemote-2f/clock.c
@@ -15,7 +15,7 @@
#include <linux/spinlock.h>
#include <asm/clock.h>
-#include <asm/mach-loongson/loongson.h>
+#include <loongson.h>
static LIST_HEAD(clock_list);
static DEFINE_SPINLOCK(clock_lock);
diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
index fc897ba..2e2738b 100644
--- a/drivers/cpufreq/loongson2_cpufreq.c
+++ b/drivers/cpufreq/loongson2_cpufreq.c
@@ -20,7 +20,7 @@
#include <asm/clock.h>
#include <asm/idle.h>
-#include <asm/mach-loongson/loongson.h>
+#include <loongson.h>
static uint nowait;
--
2.4.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: Loongson 2F: fix broken build due incorrect includes
2015-07-10 14:09 [PATCH] MIPS: Loongson 2F: fix broken build due incorrect includes Aaro Koskinen
@ 2015-07-13 2:30 ` Viresh Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2015-07-13 2:30 UTC (permalink / raw)
To: Aaro Koskinen
Cc: Ralf Baechle, Huacai Chen, linux-mips, Rafael J. Wysocki,
linux-pm
On 10-07-15, 17:09, Aaro Koskinen wrote:
> Commit 30ad29bb4888 ("MIPS: Loongson: Naming style cleanup and rework")
> renamed mach-loongson to mach-loongson64. Some files are including
> loongson.h using the asm/mach-loongson directory name, so the build
> got broken. Fix by removing the directory name; the mach directory
> is automatically in the include path.
>
> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Fixes: 30ad29bb4888 ("MIPS: Loongson: Naming style cleanup and rework")
> ---
> arch/mips/loongson64/lemote-2f/clock.c | 2 +-
> drivers/cpufreq/loongson2_cpufreq.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-13 2:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 14:09 [PATCH] MIPS: Loongson 2F: fix broken build due incorrect includes Aaro Koskinen
2015-07-13 2:30 ` Viresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox