[PATCH] parport_serial: Use the PCI IRQ if offered

From: FrÃdÃric BriÃre
Date: Mon Jul 12 2010 - 14:00:23 EST


Commit 51dcdfe 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@xxxxxxxxxxx>
---
drivers/parport/parport_serial.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parport_serial.c
index a64b275..60c191d 100644
--- a/drivers/parport/parport_serial.c
+++ b/drivers/parport/parport_serial.c
@@ -505,7 +505,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);
--
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/