[<prev] [next>] [day] [month] [year] [list]
Message-ID: <51C8FAEC.10101@asianux.com>
Date: Tue, 25 Jun 2013 10:05:32 +0800
From: Chen Gang <gang.chen@...anux.com>
To: msalter@...hat.com, a-jacquiot@...com
CC: jkc@...hat.com, linux-c6x-dev@...ux-c6x.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux-Arch <linux-arch@...r.kernel.org>
Subject: [PATCH] arch: c6x: platforms: include "asm/special_insns.h" to pass
compiling
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@...anux.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists