diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-12-08 05:40:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:07 -0500 |
commit | b5bd1cec8999624fa2b32833ba9707eb4966df17 (patch) | |
tree | c03e2e0150eae9db5b07ce87da746bc069d32d85 | |
parent | bfba7b3793f59adedfde5fb07dee565c5cc15ab8 (diff) |
[PATCH] visws: sgivwfb as module needs exports
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 <randy.dunlap@oracle.com>
Acked-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/i386/mach-visws/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/i386/mach-visws/setup.c b/arch/i386/mach-visws/setup.c index 885c7cbfd478..233ee20907b9 100644 --- a/arch/i386/mach-visws/setup.c +++ b/arch/i386/mach-visws/setup.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/smp.h> | 6 | #include <linux/smp.h> |
7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
8 | #include <linux/interrupt.h> | 8 | #include <linux/interrupt.h> |
9 | #include <linux/module.h> | ||
9 | 10 | ||
10 | #include <asm/fixmap.h> | 11 | #include <asm/fixmap.h> |
11 | #include <asm/arch_hooks.h> | 12 | #include <asm/arch_hooks.h> |
@@ -142,6 +143,8 @@ void __init time_init_hook(void) | |||
142 | 143 | ||
143 | unsigned long sgivwfb_mem_phys; | 144 | unsigned long sgivwfb_mem_phys; |
144 | unsigned long sgivwfb_mem_size; | 145 | unsigned long sgivwfb_mem_size; |
146 | EXPORT_SYMBOL(sgivwfb_mem_phys); | ||
147 | EXPORT_SYMBOL(sgivwfb_mem_size); | ||
145 | 148 | ||
146 | long long mem_size __initdata = 0; | 149 | long long mem_size __initdata = 0; |
147 | 150 | ||