lkml.org 
[lkml]   [2003]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5 patch] move an unused variable in sis_main.c
The patch below moves an used variable from drivers/video/sis/sis_main.c

i've tested the compilation with 2.5.74

please apply
maks


--- linux-2.5.74/drivers/video/sis/sis_main.c Wed Jul 2 22:50:59 2003
+++ linux/drivers/video/sis/sis_main.c Thu Jul 3 12:06:58 2003
@@ -619,11 +619,11 @@
double drate = 0, hrate = 0;
int found_mode = 0;
int old_mode;
- unsigned char reg;

TWDEBUG("Inside do_set_var");

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+ unsigned char reg;
inSISIDXREG(SISCR,0x34,reg);
if(reg & 0x80) {
printk(KERN_INFO "sisfb: Cannot change display mode, X server is active\n");

---
When your medical records are indexed in Google, something's wrong!
aaron kaplan
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.029 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site