video: semicolon bug in atyfb_base.c
PATCH 1/1 video: semicolon bug in atyfb_base.c
Indentiation and logic suggest this was wrong.
Signed-off-by Domen Puncer <[email protected]>
drivers/video/aty/atyfb_base.c +2 -2
@@ -440,11 +440,11 @@ static int __devinit correct_chipset(strswitch (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