Fix build error for Linux >= 4.19

pull/3/head
brektrou 7 years ago committed by GitHub
parent e8e56c1f58
commit 9b61b36f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1447,7 +1447,8 @@ static const struct net_device_ops rtw_netdev_ops = {
.ndo_stop = netdev_close,
.ndo_start_xmit = rtw_xmit_entry,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
.ndo_init = rtw_ndev_init,
// Fix build error for Linux >= 4.19
.ndo_init = rtw_ndev_init,
.ndo_uninit = rtw_ndev_uninit,
.ndo_open = netdev_open,
.ndo_stop = netdev_close,

Loading…
Cancel
Save