diff --git a/src/r8168_n.c b/src/r8168_n.c index 80cdf1a..4df0e48 100755 --- a/src/r8168_n.c +++ b/src/r8168_n.c @@ -2232,6 +2232,7 @@ static struct ethtool_ops rtl8168_ethtool_ops = { .set_settings = rtl8168_set_settings, .get_msglevel = rtl8168_get_msglevel, .set_msglevel = rtl8168_set_msglevel, +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) .get_rx_csum = rtl8168_get_rx_csum, .set_rx_csum = rtl8168_set_rx_csum, .get_tx_csum = rtl8168_get_tx_csum, @@ -2242,6 +2243,7 @@ static struct ethtool_ops rtl8168_ethtool_ops = { .get_tso = ethtool_op_get_tso, .set_tso = ethtool_op_set_tso, #endif +#endif .get_regs = rtl8168_get_regs, .get_wol = rtl8168_get_wol, .set_wol = rtl8168_set_wol,