aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-07-17 13:55:07 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-17 13:55:07 -0400
commitf39548a6ad1dbdfaab552419386ec5bb1d76fa0d (patch)
treec8fd3a1af39749e7cd8bb1e3a1c2a167a3f66f49 /drivers/pcmcia
parent2b04be7e8ab5756ea36e137dd03c8773d184e67e (diff)
parent417e1494fd70715b737428cc3c3d924255f22ba1 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6: pcmcia: ide-cs: Remove outdated comment pcmcia: fix cisinfo_t removal pcmcia: fix return value in cm4000_cs.c
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/cistpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c
index 9fcff0c33619..65129b54eb09 100644
--- a/drivers/pcmcia/cistpl.c
+++ b/drivers/pcmcia/cistpl.c
@@ -1490,7 +1490,7 @@ int pccard_validate_cis(struct pcmcia_socket *s, unsigned int function, unsigned
1490 ((tuple->TupleCode > 0x90) && (tuple->TupleCode < 0xff))) 1490 ((tuple->TupleCode > 0x90) && (tuple->TupleCode < 0xff)))
1491 reserved++; 1491 reserved++;
1492 } 1492 }
1493 if ((count) || (reserved > 5) || 1493 if ((count == MAX_TUPLES) || (reserved > 5) ||
1494 ((!dev_ok || !ident_ok) && (count > 10))) 1494 ((!dev_ok || !ident_ok) && (count > 10)))
1495 count = 0; 1495 count = 0;
1496 1496