openwrtv3/package/acx/patches/001-build-fix.diff
Matteo Croce 7a1e03489f acx: fix X86 builds
SVN-Revision: 10183
2008-01-14 01:40:00 +00:00

12 lines
392 B
Diff

--- 20080112/pci.c 2008/01/12 12:16:53 8
+++ 20080112/pci.c 2008/01/12 20:10:36 9
@@ -2060,7 +2060,7 @@
/* then wait until interrupts have finished executing on other CPUs */
acx_lock(adev, flags);
disable_acx_irq(adev);
- synchronize_irq(adev->irq);
+ synchronize_irq(adev->pdev->irq);
acx_unlock(adev, flags);
/* we really don't want to have an asynchronous tasklet disturb us