2004-11-26 23:16:23

by Domen Puncer

[permalink] [raw]
Subject: [patch] video: semicolon bug in atyfb_base.c

Indentiation and logic suggest this was wrong.

Signed-off-by: Domen Puncer <[email protected]>

--- c/drivers/video/aty/atyfb_base.c 2004-11-15 13:42:18.000000000 +0100
+++ str2/drivers/video/aty/atyfb_base.c 2004-11-25 21:14:52.000000000 +0100
@@ -440,11 +440,11 @@ static int __devinit correct_chipset(str
switch(par->pci_id) {
#ifdef CONFIG_FB_ATY_GX
case PCI_CHIP_MACH64GX:
- if(type != 0x00d7);
+ if(type != 0x00d7)
return -ENODEV;
break;
case PCI_CHIP_MACH64CX:
- if(type != 0x0057);
+ if(type != 0x0057)
return -ENODEV;
break;
#endif