* [PATCH] arch: c6x: platforms: include "asm/special_insns.h" to pass compiling
@ 2013-06-25 2:05 Chen Gang
0 siblings, 0 replies; only message in thread
From: Chen Gang @ 2013-06-25 2:05 UTC (permalink / raw)
To: msalter, a-jacquiot; +Cc: jkc, linux-c6x-dev, linux-kernel, Linux-Arch
Include "asm/special_insns.h" to pass compiling.
The related error (with allmodconfig):
arch/c6x/platforms/plldata.c: In function ‘c6472_setup_clocks’:
arch/c6x/platforms/plldata.c:279:2: error: implicit declaration of function ‘get_coreid’ [-Werror=implicit-function-declaration]
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
arch/c6x/platforms/plldata.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/c6x/platforms/plldata.c b/arch/c6x/platforms/plldata.c
index 755359e..ddd1441 100644
--- a/arch/c6x/platforms/plldata.c
+++ b/arch/c6x/platforms/plldata.c
@@ -20,6 +20,7 @@
#include <asm/clock.h>
#include <asm/setup.h>
#include <asm/irq.h>
+#include <asm/special_insns.h>
/*
* Common SoC clock support.
--
1.7.7.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-25 2:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25 2:05 [PATCH] arch: c6x: platforms: include "asm/special_insns.h" to pass compiling Chen Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).