[PATCH] arch: c6x: platforms: include "asm/special_insns.h" to pass compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 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-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux