From: Randy Dunlap With CONFIG_FB_SGIVW=m: WARNING: "sgivwfb_mem_size" [drivers/video/sgivwfb.ko] undefined! WARNING: "sgivwfb_mem_phys" [drivers/video/sgivwfb.ko] undefined! (or don't allow FB_SGIVW=m in Kconfig) Signed-off-by: Randy Dunlap Acked-by: James Simmons Signed-off-by: Andrew Morton --- arch/i386/mach-visws/setup.c | 3 +++ 1 files changed, 3 insertions(+) diff -puN arch/i386/mach-visws/setup.c~visws-sgivwfb-is-module-needs-exports arch/i386/mach-visws/setup.c --- a/arch/i386/mach-visws/setup.c~visws-sgivwfb-is-module-needs-exports +++ a/arch/i386/mach-visws/setup.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -142,6 +143,8 @@ void __init time_init_hook(void) unsigned long sgivwfb_mem_phys; unsigned long sgivwfb_mem_size; +EXPORT_SYMBOL(sgivwfb_mem_phys); +EXPORT_SYMBOL(sgivwfb_mem_size); long long mem_size __initdata = 0; _