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 4fb1624..f5252c2 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 b8f5dd8..ba70471 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;