PATCH: fix pcmcia_cs without ISA

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jul 27 2003 - 15:12:05 EST


(Taral)
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/pcmcia/cs.c linux-2.6.0-test2-ac1/drivers/pcmcia/cs.c
--- linux-2.6.0-test2/drivers/pcmcia/cs.c 2003-07-14 14:11:56.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/pcmcia/cs.c 2003-07-15 17:51:34.000000000 +0100
@@ -1958,6 +1958,9 @@
             irq = req->IRQInfo1 & IRQ_MASK;
             ret = try_irq(req->Attributes, irq, 1);
         }
+#else
+ } else {
+ ret = CS_UNSUPPORTED_MODE;
 #endif
     }
     if (ret != 0) return ret;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:33 EST