[package] fix acx compile error with VLYNQ support (#7281)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21347 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2010-05-04 07:33:43 +00:00
parent 071c65060f
commit 8a30fd1417

View File

@@ -50,7 +50,7 @@ Index: acx-20080210/pci.c
goto fail_alloc_netdev;
}
ether_setup(ndev);
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
ndev->open = &acxpci_e_open;
ndev->stop = &acxpci_e_close;
ndev->hard_start_xmit = &acx_i_start_xmit;