visws: sgivwfb is module needs exports
PATCH 1/1 visws: sgivwfb is module needs exports
From: Randy Dunlap <[email protected]>
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 <[email protected]>
--- arch/i386/mach-visws/setup.c | 3 +++ 1 file changed, 3 insertions(+)
arch/i386/mach-visws/setup.c +3 -0
@@ -6,6 +6,7 @@#include <linux/smp.h> #include <linux/init.h> #include <linux/interrupt.h> +#include <linux/module.h> #include <asm/fixmap.h> #include <asm/arch_hooks.h>
@@ -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 ;
---
Acked-by James Simmons <[email protected]>
Quoted 41 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
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 <[email protected]>--- arch/i386/mach-visws/setup.c | 3 +++ 1 file changed, 3 insertions(+)arch/i386/mach-visws/setup.c +3
-2@@ -6,6 +6,7 @@#include <linux/smp.h> #include <linux/init.h> #include <linux/interrupt.h> +#include <linux/module.h> #include <asm/fixmap.h> #include <asm/arch_hooks.h> @@ -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 ; --- -To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/