From 155717ab35a9be1c28cf651a24d242b6ca95363e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 29 Dec 2003 05:51:05 -0800 Subject: [PATCH] [PATCH] sis comparison / assignment operator fix From: Geoffrey Lee This fixes what seems to be an obvious = vs == bug in the init301.c sis file. --- drivers/video/sis/init301.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/sis/init301.c b/drivers/video/sis/init301.c index f664bf8803fb4..bb9c50de86c3f 100644 --- a/drivers/video/sis/init301.c +++ b/drivers/video/sis/init301.c @@ -11712,7 +11712,7 @@ SetOEMLCDData(SiS_Private *SiS_Pr, PSIS_HW_DEVICE_INFO HwDeviceExtension,USHORT } temp = GetOEMLCDPtr(SiS_Pr,HwDeviceExtension, ROMAddr, 1); - if(temp = 0xFFFF) return; + if(temp == 0xFFFF) return; index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex]._VB_LCDHIndex; for(i=0x14, j=0; i<=0x17; i++, j++) { -- 2.53.0