Skip to content

Commit

Permalink
x86, VisWS: turn into generic arch, move definitions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jul 10, 2008
1 parent b4b8641 commit efd746b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions drivers/video/sgivwfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions include/asm-x86/mach-visws/setup_arch.h
Original file line number Diff line number Diff line change
@@ -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 changes: 5 additions & 0 deletions include/asm-x86/visws/sgivw.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
* Frame buffer position and size:
*/
extern unsigned long sgivwfb_mem_phys;
extern unsigned long sgivwfb_mem_size;

0 comments on commit efd746b

Please sign in to comment.