summaryrefslogtreecommitdiffstats
path: root/arch/c6x/kernel
diff options
context:
space:
mode:
authorChen Gang2015-03-03 17:33:15 +0100
committerMark Salter2015-03-03 17:33:15 +0100
commit3591276d16f8e568449e4b6c719165ad2decf222 (patch)
tree6a6fb90fd9edd0d5d6ddf8e0fd957afbfbaded6e /arch/c6x/kernel
parentLinux 4.0-rc1 (diff)
downloadkernel-qcow2-linux-3591276d16f8e568449e4b6c719165ad2decf222.tar.gz
kernel-qcow2-linux-3591276d16f8e568449e4b6c719165ad2decf222.tar.xz
kernel-qcow2-linux-3591276d16f8e568449e4b6c719165ad2decf222.zip
c6x: kernel: setup: Include "linux/console.h"
Or c6x will cause building break for allmodconfig, the related error: CC arch/c6x/kernel/setup.o arch/c6x/kernel/setup.c: In function 'setup_arch': arch/c6x/kernel/setup.c:433:2: error: 'conswitchp' undeclared (first use in this function) conswitchp = &dummy_con; ^ arch/c6x/kernel/setup.c:433:2: note: each undeclared identifier is reported only once for each function it appears in arch/c6x/kernel/setup.c:433:16: error: 'dummy_con' undeclared (first use in this function) conswitchp = &dummy_con; ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> [removed unnecessary #ifdef around include] Signed-off-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x/kernel')
-rw-r--r--arch/c6x/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/c6x/kernel/setup.c b/arch/c6x/kernel/setup.c
index 757128868d43..f016128ece13 100644
--- a/arch/c6x/kernel/setup.c
+++ b/arch/c6x/kernel/setup.c
@@ -26,7 +26,7 @@
#include <linux/cpu.h>
#include <linux/fs.h>
#include <linux/of.h>
-
+#include <linux/console.h>
#include <asm/sections.h>
#include <asm/div64.h>