Skip to content

Commit

Permalink
ETHTOOL_COALESCE_USECS only appeared with 5.7-rc1, not 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
William Gathoye committed Jul 12, 2020
1 parent 1ae9241 commit 8136e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r8152.c
Original file line number Diff line number Diff line change
Expand Up @@ -17134,7 +17134,7 @@ static int rtl8152_set_ringparam(struct net_device *netdev,
}

static const struct ethtool_ops ops = {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)
.supported_coalesce_params = ETHTOOL_COALESCE_USECS,
#endif
.get_drvinfo = rtl8152_get_drvinfo,
Expand Down

0 comments on commit 8136e09

Please sign in to comment.