[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061116213038.84cc25b5.randy.dunlap@oracle.com>
Date: Thu, 16 Nov 2006 21:30:38 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: pazke@...pac.ru, akpm <akpm@...l.org>
Subject: [PATCH] visws: sgivwfb is module needs exports
From: Randy Dunlap <randy.dunlap@...cle.com>
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@...cle.com>
---
arch/i386/mach-visws/setup.c | 3 +++
1 file changed, 3 insertions(+)
--- linux-2619-rc6.orig/arch/i386/mach-visws/setup.c
+++ linux-2619-rc6/arch/i386/mach-visws/setup.c
@@ -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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists