aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pcmcia/ds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index da7ceb523b48..6572b3850e55 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -529,8 +529,8 @@ struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int f
529 529
530 mutex_lock(&device_add_lock); 530 mutex_lock(&device_add_lock);
531 531
532 /* max of 2 devices per card */ 532 /* max of 4 devices per card */
533 if (s->device_count == 2) 533 if (s->device_count == 4)
534 goto err_put; 534 goto err_put;
535 535
536 p_dev = kzalloc(sizeof(struct pcmcia_device), GFP_KERNEL); 536 p_dev = kzalloc(sizeof(struct pcmcia_device), GFP_KERNEL);