Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
[cascardo/linux.git] / drivers / bluetooth / dtl1_cs.c
index 2cc7b32..b881a9c 100644 (file)
@@ -618,7 +618,7 @@ static int dtl1_config(struct pcmcia_device *link)
 
        /* Look for a generic full-sized window */
        link->io.NumPorts1 = 8;
-       if (!pcmcia_loop_config(link, dtl1_confcheck, NULL))
+       if (pcmcia_loop_config(link, dtl1_confcheck, NULL) < 0)
                goto failed;
 
        i = pcmcia_request_irq(link, &link->irq);