summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-10 15:31:35 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-10 18:55:40 +0200
commitefd746b8892d1d40c43c3d518b3bde9e56238ce8 (patch)
treee6be71201dd0ac6dcef0a47698284a8d7ac0097f
parentb4b86416712d79a77cdc53756751b3b91fbb7a3d (diff)
downloadlinux-efd746b8892d1d40c43c3d518b3bde9e56238ce8.tar.gz
linux-efd746b8892d1d40c43c3d518b3bde9e56238ce8.tar.bz2
linux-efd746b8892d1d40c43c3d518b3bde9e56238ce8.zip
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>
-rw-r--r--drivers/video/sgivwfb.c3
-rw-r--r--include/asm-x86/mach-visws/setup_arch.h3
-rw-r--r--include/asm-x86/visws/sgivw.h5
3 files changed, 6 insertions, 5 deletions
diff --git a/drivers/video/sgivwfb.c b/drivers/video/sgivwfb.c
index 4fb16240c04d..f5252c2552fd 100644
--- a/drivers/video/sgivwfb.c
+++ b/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
diff --git a/include/asm-x86/mach-visws/setup_arch.h b/include/asm-x86/mach-visws/setup_arch.h
index b8f5dd829dba..ba70471ff8cd 100644
--- a/include/asm-x86/mach-visws/setup_arch.h
+++ b/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 */
diff --git a/include/asm-x86/visws/sgivw.h b/include/asm-x86/visws/sgivw.h
new file mode 100644
index 000000000000..5fbf63e1003c
--- /dev/null
+++ b/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;