summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorFr?d?ric Bri?re <fbriere@fbriere.net>2010-08-11 03:03:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 17:59:22 +0200
commit832ccf6f44969b616b2aeea25276684cf104fa3b (patch)
tree2aa3c7022469cd37340e4f17d092942e33d889ed /drivers/parport
parentlib/bug.c: add oops end marker to WARN implementation (diff)
downloadlinux-832ccf6f44969b616b2aeea25276684cf104fa3b.tar.xz
linux-832ccf6f44969b616b2aeea25276684cf104fa3b.zip
parport_serial: use the PCI IRQ if offered
Commit 51dcdfe ("parport: Use the PCI IRQ if offered") added IRQ support for PCI parallel port devices handled by parport_pc, but turned it off for parport_serial, despite a printk() message to the contrary. Signed-off-by: Fr?d?ric Bri?re <fbriere@fbriere.net> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/parport_serial.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parport_serial.c
index 40e208d130f5..f01e26440f11 100644
--- a/drivers/parport/parport_serial.c
+++ b/drivers/parport/parport_serial.c
@@ -342,7 +342,6 @@ static int __devinit parport_register (struct pci_dev *dev,
dev_dbg(&dev->dev,
"PCI parallel port detected: I/O at %#lx(%#lx), IRQ %d\n",
io_lo, io_hi, irq);
- irq = PARPORT_IRQ_NONE;
}
port = parport_pc_probe_port (io_lo, io_hi, irq,
PARPORT_DMA_NONE, &dev->dev, IRQF_SHARED);