Browse Source

x86, VisWS: turn into generic arch, move definitions

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>
Ingo Molnar 17 năm trước cách đây
mục cha
commit
efd746b889

+ 1 - 2
drivers/video/sgivwfb.c

@@ -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

+ 0 - 3
include/asm-x86/mach-visws/setup_arch.h

@@ -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 */

+ 5 - 0
include/asm-x86/visws/sgivw.h

@@ -0,0 +1,5 @@
+/*
+ * Frame buffer position and size:
+ */
+extern unsigned long sgivwfb_mem_phys;
+extern unsigned long sgivwfb_mem_size;