acx: fix X86 builds
[openwrt/svn-archive/archive.git] / package / acx / patches / 001-build-fix.diff
1 --- 20080112/pci.c 2008/01/12 12:16:53 8
2 +++ 20080112/pci.c 2008/01/12 20:10:36 9
3 @@ -2060,7 +2060,7 @@
4 /* then wait until interrupts have finished executing on other CPUs */
5 acx_lock(adev, flags);
6 disable_acx_irq(adev);
7 - synchronize_irq(adev->irq);
8 + synchronize_irq(adev->pdev->irq);
9 acx_unlock(adev, flags);
10
11 /* we really don't want to have an asynchronous tasklet disturb us
12