From: "Antonino A. Daplas" Took code from James' tree to be hopefully included in the mm tree so it can receive more testing. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- 25-akpm/drivers/video/sgivwfb.c | 127 ++++++++++++++++++++++++++++------------ 1 files changed, 91 insertions(+), 36 deletions(-) diff -puN drivers/video/sgivwfb.c~sgivwfb-salvage-sgivwfb-from-james-tree drivers/video/sgivwfb.c --- 25/drivers/video/sgivwfb.c~sgivwfb-salvage-sgivwfb-from-james-tree 2004-08-21 13:47:45.876641224 -0700 +++ 25-akpm/drivers/video/sgivwfb.c 2004-08-21 13:47:45.881640464 -0700 @@ -22,7 +22,7 @@ #include #define INCLUDE_TIMING_TABLE_DATA -#define DBE_REG_BASE default_par.regs +#define DBE_REG_BASE par->regs #include