aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/calxeda
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/calxeda')
-rw-r--r--drivers/net/ethernet/calxeda/xgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/calxeda/xgmac.c b/drivers/net/ethernet/calxeda/xgmac.c
index 791e5ff305d8..4a1f2fa812ab 100644
--- a/drivers/net/ethernet/calxeda/xgmac.c
+++ b/drivers/net/ethernet/calxeda/xgmac.c
@@ -1482,7 +1482,7 @@ static int xgmac_set_features(struct net_device *dev, netdev_features_t features
1482 u32 ctrl; 1482 u32 ctrl;
1483 struct xgmac_priv *priv = netdev_priv(dev); 1483 struct xgmac_priv *priv = netdev_priv(dev);
1484 void __iomem *ioaddr = priv->base; 1484 void __iomem *ioaddr = priv->base;
1485 u32 changed = dev->features ^ features; 1485 netdev_features_t changed = dev->features ^ features;
1486 1486
1487 if (!(changed & NETIF_F_RXCSUM)) 1487 if (!(changed & NETIF_F_RXCSUM))
1488 return 0; 1488 return 0;