]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parport/parport_cs.c
parport: Use the PCI IRQ if offered
[linux-2.6-omap-h63xx.git] / drivers / parport / parport_cs.c
index 0cd5fbc7f2c2390eb31f260d2f5b71838389445f..8fdfa4f537a6ec9b4e189641f61130163c7dfa5c 100644 (file)
@@ -43,6 +43,7 @@
 #include <linux/timer.h>
 #include <linux/ioport.h>
 #include <linux/major.h>
+#include <linux/interrupt.h>
 
 #include <linux/parport.h>
 #include <linux/parport_pc.h>
@@ -192,7 +193,7 @@ static int parport_config(struct pcmcia_device *link)
 
     p = parport_pc_probe_port(link->io.BasePort1, link->io.BasePort2,
                              link->irq.AssignedIRQ, PARPORT_DMA_NONE,
-                             &link->dev);
+                             &link->dev, IRQF_SHARED);
     if (p == NULL) {
        printk(KERN_NOTICE "parport_cs: parport_pc_probe_port() at "
               "0x%3x, irq %u failed\n", link->io.BasePort1,