Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31038
b: refs/heads/master
c: 0686cd8
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jun 29, 2006
1 parent 31c246b commit 82478c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a6047eef1c465c38aacfbdab193161b3f0cd144
refs/heads/master: 0686cd8fbe3e5fb1441ae84b9cbc813f9297b879
4 changes: 2 additions & 2 deletions trunk/arch/i386/mach-visws/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ void __init time_init_hook(void)

#define MB (1024 * 1024)

static unsigned long sgivwfb_mem_phys;
static unsigned long sgivwfb_mem_size;
unsigned long sgivwfb_mem_phys;
unsigned long sgivwfb_mem_size;

long long mem_size __initdata = 0;

Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/video/sgivwfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <asm/io.h>
#include <asm/mtrr.h>

#include <setup_arch.h>

#define INCLUDE_TIMING_TABLE_DATA
#define DBE_REG_BASE par->regs
#include <video/sgivw.h>
Expand All @@ -42,10 +44,6 @@ struct sgivw_par {
* The default can be overridden if the driver is compiled as a module
*/

/* set by arch/i386/kernel/setup.c */
extern unsigned long sgivwfb_mem_phys;
extern unsigned long sgivwfb_mem_size;

static int ypan = 0;
static int ywrap = 0;

Expand Down
3 changes: 3 additions & 0 deletions trunk/include/asm-i386/mach-visws/setup_arch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Hook to call BIOS initialisation function */

extern unsigned long sgivwfb_mem_phys;
extern unsigned long sgivwfb_mem_size;

/* no action for visws */

#define ARCH_SETUP

0 comments on commit 82478c4

Please sign in to comment.