[2.5 patch] fix for drivers/video/sis/init301.c

Adrian Bunk (bunk@fs.tum.de)
Wed, 18 Jun 2003 01:27:26 +0200


Hi James,

the following patch fixes some nonsense in drivers/video/sis/init301.c .
I've tested the compilation with 2.5.72.

--- linux-2.5.72/drivers/video/sis/init301.c.old 2003-06-18 01:22:27.000000000 +0200
+++ linux-2.5.72/drivers/video/sis/init301.c 2003-06-18 01:23:23.000000000 +0200
@@ -5282,7 +5282,7 @@
#ifdef SIS315H /* 310/325 series */

if(SiS_Pr->SiS_IF_DEF_CH70xx != 0) {
- temp = temp = SiS_GetCH701x(SiS_Pr,0x61);
+ temp = SiS_GetCH701x(SiS_Pr,0x61);
if(temp < 1) {
SiS_SetCH701x(SiS_Pr,0xac76);
SiS_SetCH701x(SiS_Pr,0x0066);

Please apply
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/