[patch] video: semicolon bug in atyfb_base.c

From: Domen Puncer
Date: Fri Nov 26 2004 - 18:19:49 EST


Indentiation and logic suggest this was wrong.

Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>

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