]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Add export of vgacon_remap_base
authorMathieu Desnoyers <compudj@krystal.dyndns.org>
Thu, 8 Feb 2007 00:04:44 +0000 (19:04 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Feb 2007 05:08:47 +0000 (16:08 +1100)
The following macro :
include/asm-powerpc/vga.h:#define VGA_MAP_MEM(x,s) (x + vgacon_remap_base)
is used by drivers/video/console/vgacon.c which can be compiled as a module
(drivers/video/vga16fb.ko).

Therefore, vgacon_remap_base should be exported.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup_32.c

index 61c65d19ef0618409feeedc778077765acc63b0f..6a19fa40dceea957e41c6558c55880aecb33ea4b 100644 (file)
@@ -65,6 +65,7 @@ int have_of = 1;
 
 #ifdef CONFIG_VGA_CONSOLE
 unsigned long vgacon_remap_base;
+EXPORT_SYMBOL(vgacon_remap_base);
 #endif
 
 /*