diff options
Diffstat (limited to 'drivers/parport/parport_cs.c')
-rw-r--r-- | drivers/parport/parport_cs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/parport/parport_cs.c b/drivers/parport/parport_cs.c index 0cd5fbc7f2c2..8fdfa4f537a6 100644 --- a/drivers/parport/parport_cs.c +++ b/drivers/parport/parport_cs.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <linux/timer.h> | 43 | #include <linux/timer.h> |
44 | #include <linux/ioport.h> | 44 | #include <linux/ioport.h> |
45 | #include <linux/major.h> | 45 | #include <linux/major.h> |
46 | #include <linux/interrupt.h> | ||
46 | 47 | ||
47 | #include <linux/parport.h> | 48 | #include <linux/parport.h> |
48 | #include <linux/parport_pc.h> | 49 | #include <linux/parport_pc.h> |
@@ -192,7 +193,7 @@ static int parport_config(struct pcmcia_device *link) | |||
192 | 193 | ||
193 | p = parport_pc_probe_port(link->io.BasePort1, link->io.BasePort2, | 194 | p = parport_pc_probe_port(link->io.BasePort1, link->io.BasePort2, |
194 | link->irq.AssignedIRQ, PARPORT_DMA_NONE, | 195 | link->irq.AssignedIRQ, PARPORT_DMA_NONE, |
195 | &link->dev); | 196 | &link->dev, IRQF_SHARED); |
196 | if (p == NULL) { | 197 | if (p == NULL) { |
197 | printk(KERN_NOTICE "parport_cs: parport_pc_probe_port() at " | 198 | printk(KERN_NOTICE "parport_cs: parport_pc_probe_port() at " |
198 | "0x%3x, irq %u failed\n", link->io.BasePort1, | 199 | "0x%3x, irq %u failed\n", link->io.BasePort1, |