summaryrefslogtreecommitdiffstats
path: root/arch/c6x/kernel
diff options
context:
space:
mode:
authorChen Gang <xili_gchen_5257@hotmail.com>2015-03-04 07:12:52 +0100
committerMark Salter <msalter@redhat.com>2015-03-26 15:49:27 +0100
commitd0f73520b3782a5447e9602f181daba6671e5cc7 (patch)
tree1aca3bb6d88d4d0aec1ada23245dce1ffe38fe1a /arch/c6x/kernel
parentc6x: include: asm: Kbuild: Add generic serial.h (diff)
downloadlinux-d0f73520b3782a5447e9602f181daba6671e5cc7.tar.xz
linux-d0f73520b3782a5447e9602f181daba6671e5cc7.zip
c6x: kernel: setup: Add screen_info global variable
Or can not pass building with allmodconfig: LD init/built-in.o drivers/built-in.o: In function `vgacon_switch': vgacon.c:(.text+0x47f8): undefined reference to `screen_info' vgacon.c:(.text+0x4810): undefined reference to `screen_info' drivers/built-in.o: In function `vgacon_resize': vgacon.c:(.text+0x4ac8): undefined reference to `screen_info' vgacon.c:(.text+0x4acc): undefined reference to `screen_info' drivers/built-in.o: In function `vgacon_save_screen': vgacon.c:(.text+0x4cc8): undefined reference to `screen_info' drivers/built-in.o:vgacon.c:(.text+0x4cd0): more undefined references to `screen_info' follow Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x/kernel')
-rw-r--r--arch/c6x/kernel/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/c6x/kernel/setup.c b/arch/c6x/kernel/setup.c
index 1d9f39920a67..165bbd9ef006 100644
--- a/arch/c6x/kernel/setup.c
+++ b/arch/c6x/kernel/setup.c
@@ -27,6 +27,7 @@
#include <linux/fs.h>
#include <linux/of.h>
#include <linux/console.h>
+#include <linux/screen_info.h>
#include <asm/sections.h>
#include <asm/div64.h>
@@ -38,6 +39,8 @@
static const char *c6x_soc_name;
+struct screen_info screen_info;
+
int c6x_num_cores;
EXPORT_SYMBOL_GPL(c6x_num_cores);