net: introduce and use netdev_features_t for device features sets
[linux-block.git] / drivers / net / ethernet / oki-semi / pch_gbe / pch_gbe_main.c
index 48406ca382f1de638e8938b4732f19406485fc83..964e9c0948bce19cf1a09ca5229575006ed1934f 100644 (file)
@@ -2109,10 +2109,11 @@ static int pch_gbe_change_mtu(struct net_device *netdev, int new_mtu)
  * Returns
  *     0:              HW state updated successfully
  */
-static int pch_gbe_set_features(struct net_device *netdev, u32 features)
+static int pch_gbe_set_features(struct net_device *netdev,
+       netdev_features_t features)
 {
        struct pch_gbe_adapter *adapter = netdev_priv(netdev);
-       u32 changed = features ^ netdev->features;
+       netdev_features_t changed = features ^ netdev->features;
 
        if (!(changed & NETIF_F_RXCSUM))
                return 0;