Hexagon: add screen_info for VGA_CONSOLE
authorRichard Kuo <rkuo@codeaurora.org>
Fri, 6 Dec 2013 22:45:25 +0000 (16:45 -0600)
committerRichard Kuo <rkuo@codeaurora.org>
Fri, 4 Apr 2014 23:20:01 +0000 (18:20 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/Makefile
arch/hexagon/kernel/screen_info.c [new file with mode: 0644]

index 29fc933..009228b 100644 (file)
@@ -15,3 +15,5 @@ obj-y += vm_vectors.o
 obj-$(CONFIG_HAS_DMA) += dma.o
 
 obj-$(CONFIG_STACKTRACE) += stacktrace.o
+
+obj-$(CONFIG_VGA_CONSOLE) += screen_info.o
diff --git a/arch/hexagon/kernel/screen_info.c b/arch/hexagon/kernel/screen_info.c
new file mode 100644 (file)
index 0000000..1e1ceb1
--- /dev/null
@@ -0,0 +1,3 @@
+#include <linux/screen_info.h>
+
+struct screen_info screen_info;