Skip to contentSkip to conversation

i386: EXPORT_SYMBOL(screen_info) even #ifndef CONFIG_VT

RFC PATCH In review Adrian Bunk 2 participants 2 messages Nov 1, 2005 – Nov 2, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 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

---

Is this patch OK or should the drivers depend on VT?

arch/i386/kernel/setup.c renamed from arch/i386/kernel/setup.c.old +0 -2
@@ -129,9 +129,7 @@
 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 {