fix acx compile error with VLYNQ support (#7281)

SVN-Revision: 21347
This commit is contained in:
Florian Fainelli 2010-05-04 07:33:43 +00:00
parent d7048c2300
commit 803225ef2c

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;