OSDN Git Service

[PATCH] video sis parenthesis fix
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Fri, 1 Dec 2006 15:16:21 +0000 (16:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 25 Feb 2007 07:41:29 +0000 (08:41 +0100)
Hello,

This patch removes an extra parenthesis in SetOEMLCDData() code.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
 drivers/video/sis/init301.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/video/sis/init301.c

index c0cc8d6..cd11526 100644 (file)
@@ -11679,7 +11679,7 @@ SetOEMLCDData(SiS_Private *SiS_Pr, PSIS_HW_INFO HwInfo,
   UCHAR  *ROMAddr = HwInfo->pjVirtualRomBase;
   USHORT index,temp;
 
-  if((SiS_Pr->SiS_UseROM) {
+  if (SiS_Pr->SiS_UseROM) {
      if(!(ROMAddr[0x237] & 0x01)) return;
      if(!(ROMAddr[0x237] & 0x04)) return;
      /* No rom pointer in BIOS header! */