]> err.no Git - linux-2.6/commitdiff
x86, VisWS: turn into generic arch, move definitions
authorIngo Molnar <mingo@elte.hu>
Thu, 10 Jul 2008 13:31:35 +0000 (15:31 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Jul 2008 16:55:40 +0000 (18:55 +0200)
move the SGIVW definitions from setup_arch.h into its own header file.

preparation for turning VISWS into a generic PC architecture.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/video/sgivwfb.c
include/asm-x86/mach-visws/setup_arch.h
include/asm-x86/visws/sgivw.h [new file with mode: 0644]

index 4fb16240c04d2d377354e6d060c356770bde4cb9..f5252c2552fdd482731eef311f3f4ff14a70f03d 100644 (file)
@@ -21,8 +21,7 @@
 
 #include <asm/io.h>
 #include <asm/mtrr.h>
-
-#include <setup_arch.h>
+#include <asm/visws/sgivw.h>
 
 #define INCLUDE_TIMING_TABLE_DATA
 #define DBE_REG_BASE par->regs
index b8f5dd829dba924785aa3f7b5ed20351e3a6b786..ba70471ff8cdf94fb1bede1f2ffd5624dd66a2bf 100644 (file)
@@ -1,6 +1,3 @@
 /* Hook to call BIOS initialisation function */
 
-extern unsigned long sgivwfb_mem_phys;
-extern unsigned long sgivwfb_mem_size;
-
 /* no action for visws */
diff --git a/include/asm-x86/visws/sgivw.h b/include/asm-x86/visws/sgivw.h
new file mode 100644 (file)
index 0000000..5fbf63e
--- /dev/null
@@ -0,0 +1,5 @@
+/*
+ * Frame buffer position and size:
+ */
+extern unsigned long sgivwfb_mem_phys;
+extern unsigned long sgivwfb_mem_size;