Upstream now uses struct ethtool_keee instead of struct ethtool_eee
as parameter to EEE-related functions. Follow that change and modify
the patch accordingly.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
return phylink_ethtool_set_pauseparam(mac->phylink, pause);
}
-+static int mtk_get_eee(struct net_device *dev, struct ethtool_eee *eee)
++static int mtk_get_eee(struct net_device *dev, struct ethtool_keee *eee)
+{
+ struct mtk_mac *mac = netdev_priv(dev);
+ u32 reg;
+ return 0;
+}
+
-+static int mtk_set_eee(struct net_device *dev, struct ethtool_eee *eee)
++static int mtk_set_eee(struct net_device *dev, struct ethtool_keee *eee)
+{
+ struct mtk_mac *mac = netdev_priv(dev);
+ u32 txidle_thd_ms, reg;