net: introduce and use netdev_features_t for device features sets
[deliverable/linux.git] / drivers / net / ethernet / neterion / s2io.c
index e6c90a5ac5d47b73579df125b4f7ac36a188cb92..76ae476272002522250400b76da95deb6ce7d36c 100644 (file)
@@ -6616,10 +6616,10 @@ static void s2io_ethtool_get_strings(struct net_device *dev,
        }
 }
 
-static int s2io_set_features(struct net_device *dev, u32 features)
+static int s2io_set_features(struct net_device *dev, netdev_features_t features)
 {
        struct s2io_nic *sp = netdev_priv(dev);
-       u32 changed = (features ^ dev->features) & NETIF_F_LRO;
+       netdev_features_t changed = (features ^ dev->features) & NETIF_F_LRO;
 
        if (changed && netif_running(dev)) {
                int rc;
This page took 0.026445 seconds and 5 git commands to generate.