Fixed request_irq() bug for non EtherCAT-devices in r8169 for kernel 3.4.

This commit is contained in:
Florian Pose 2013-11-29 16:42:20 +01:00
parent 02f2461fda
commit ffa0c395a8
1 changed files with 1 additions and 1 deletions

View File

@ -5782,7 +5782,7 @@ static int rtl_open(struct net_device *dev)
rtl_request_firmware(tp);
if (!tp->ecdev) {
retval = request_irq(dev->irq, rtl8169_interrupt,
retval = request_irq(pdev->irq, rtl8169_interrupt,
(tp->features & RTL_FEATURE_MSI) ? 0 : IRQF_SHARED,
dev->name, dev);
if (retval < 0)