Fixed request_irq() bug for non EtherCAT-devices in r8169 for kernel 3.4. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Fri, 29 Nov 2013 16:42:20 +0100
branchstable-1.5
changeset 2534 a0e787e196cd
parent 2533 a1c25aee3112
child 2535 72b61b089625
child 2537 298ce9f9050f
Fixed request_irq() bug for non EtherCAT-devices in r8169 for kernel 3.4.
devices/r8169-3.4-ethercat.c
--- a/devices/r8169-3.4-ethercat.c	Tue Nov 26 08:38:44 2013 +0100
+++ b/devices/r8169-3.4-ethercat.c	Fri Nov 29 16:42:20 2013 +0100
@@ -5782,7 +5782,7 @@
 	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)