summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/setup.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-02-01 13:00:38 -0500
committerChris Metcalf <cmetcalf@tilera.com>2013-02-04 12:53:14 -0500
commita05d3f9fa3b496b2894c73bb8cbb49deb09b41db (patch)
treedd93ae6e09471a8c6f0121d827bd7b71e3dbf440 /arch/tile/kernel/setup.c
parent84e4e46020cdb0e091858eb8263a2287880e2bad (diff)
downloadlinux-a05d3f9fa3b496b2894c73bb8cbb49deb09b41db.tar.gz
linux-a05d3f9fa3b496b2894c73bb8cbb49deb09b41db.tar.bz2
linux-a05d3f9fa3b496b2894c73bb8cbb49deb09b41db.zip
tile: provide "screen_info" when enabling VT
This avoids a link-time failure when building allyesconfig. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/setup.c')
-rw-r--r--arch/tile/kernel/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c
index 6a649a4462d3..d1e15f7b59c6 100644
--- a/arch/tile/kernel/setup.c
+++ b/arch/tile/kernel/setup.c
@@ -31,6 +31,7 @@
#include <linux/timex.h>
#include <linux/hugetlb.h>
#include <linux/start_kernel.h>
+#include <linux/screen_info.h>
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/cacheflush.h>
@@ -49,6 +50,10 @@ static inline int ABS(int x) { return x >= 0 ? x : -x; }
/* Chip information */
char chip_model[64] __write_once;
+#ifdef CONFIG_VT
+struct screen_info screen_info;
+#endif
+
struct pglist_data node_data[MAX_NUMNODES] __read_mostly;
EXPORT_SYMBOL(node_data);