]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/pcmcia/rsrc_nonstatic.c
Merge /spare/repo/linux-2.6/
[karo-tx-linux.git] / drivers / pcmcia / rsrc_nonstatic.c
index 7e1b7fcd8333ddc110cd9c081281724153252a7c..f9a5c70284b5a8901a7afbd86d07f39b1330978b 100644 (file)
@@ -817,7 +817,7 @@ static int nonstatic_autoadd_resources(struct pcmcia_socket *s)
 
        /* if we got at least one of IO, and one of MEM, we can be glad and
         * activate the PCMCIA subsystem */
-       if (done & (IORESOURCE_MEM | IORESOURCE_IO))
+       if (done == (IORESOURCE_MEM | IORESOURCE_IO))
                s->resource_setup_done = 1;
 
        return 0;