Commit decaed05 authored by Domen Puncer's avatar Domen Puncer Committed by Linus Torvalds

[PATCH] video: semicolon bug in atyfb_base.c

Indentiation and logic suggest this was wrong.
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2c9f8805
...@@ -440,11 +440,11 @@ static int __devinit correct_chipset(struct atyfb_par *par) ...@@ -440,11 +440,11 @@ static int __devinit correct_chipset(struct atyfb_par *par)
switch(par->pci_id) { switch(par->pci_id) {
#ifdef CONFIG_FB_ATY_GX #ifdef CONFIG_FB_ATY_GX
case PCI_CHIP_MACH64GX: case PCI_CHIP_MACH64GX:
if(type != 0x00d7); if(type != 0x00d7)
return -ENODEV; return -ENODEV;
break; break;
case PCI_CHIP_MACH64CX: case PCI_CHIP_MACH64CX:
if(type != 0x0057); if(type != 0x0057)
return -ENODEV; return -ENODEV;
break; break;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment