Need implement default 'screen_info' just like another architectures
(tile, cris, score, sh), or can not pass compiling for defconfig:

The related error:

  drivers/video/console/vgacon.c:820: undefined reference to `screen_info'
  drivers/video/console/vgacon.c:840: undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_init':
  drivers/video/console/vgacon.c:589: undefined reference to `screen_info'
  drivers/built-in.o: In function `vgacon_startup':
  drivers/video/console/vgacon.c:375: undefined reference to `screen_info'
  drivers/video/console/vgacon.c:387: undefined reference to `screen_info'
  drivers/built-in.o:/root/linux-next/drivers/video/console/vgacon.c:388: more 
undefined references to `screen_info' follow


Signed-off-by: Chen Gang <gang.c...@asianux.com>
---
 arch/h8300/kernel/setup.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c
index d0b1607..488b94c 100644
--- a/arch/h8300/kernel/setup.c
+++ b/arch/h8300/kernel/setup.c
@@ -31,6 +31,7 @@
 #include <linux/bootmem.h>
 #include <linux/seq_file.h>
 #include <linux/init.h>
+#include <linux/screen_info.h>
 
 #include <asm/setup.h>
 #include <asm/irq.h>
@@ -49,6 +50,10 @@
 
 #define STUBSIZE 0xc000
 
+#ifdef CONFIG_VT
+struct screen_info screen_info;
+#endif
+
 unsigned long rom_length;
 unsigned long memory_start;
 unsigned long memory_end;
-- 
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