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.c...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to