From: Adrian Bunk Date: Wed, 9 Nov 2005 05:39:21 +0000 (-0800) Subject: [PATCH] i386: EXPORT_SYMBOL(screen_info) even #ifndef CONFIG_VT X-Git-Tag: v2.6.15-rc1~102 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78ac151c83219bd3de591330c1efc4dc64dd9294;p=linux-2.6 [PATCH] i386: EXPORT_SYMBOL(screen_info) even #ifndef CONFIG_VT The folllowing modules require screen_info but don't depend on CONFIG_VT: - vga16fb.ko - intelfb.ko Signed-off-by: Adrian Bunk Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index b48ac635f3..fdfcb0cba9 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c @@ -129,9 +129,7 @@ struct drive_info_struct { char dummy[32]; } drive_info; EXPORT_SYMBOL(drive_info); #endif struct screen_info screen_info; -#ifdef CONFIG_VT EXPORT_SYMBOL(screen_info); -#endif struct apm_info apm_info; EXPORT_SYMBOL(apm_info); struct sys_desc_table_struct {