diff options
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmveth.c')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmveth.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ibm/ibmveth.c b/drivers/net/ethernet/ibm/ibmveth.c index b1cd41b9c61c..e877371680a9 100644 --- a/drivers/net/ethernet/ibm/ibmveth.c +++ b/drivers/net/ethernet/ibm/ibmveth.c | |||
@@ -735,7 +735,8 @@ static void netdev_get_drvinfo(struct net_device *dev, | |||
735 | sizeof(info->version) - 1); | 735 | sizeof(info->version) - 1); |
736 | } | 736 | } |
737 | 737 | ||
738 | static u32 ibmveth_fix_features(struct net_device *dev, u32 features) | 738 | static netdev_features_t ibmveth_fix_features(struct net_device *dev, |
739 | netdev_features_t features) | ||
739 | { | 740 | { |
740 | /* | 741 | /* |
741 | * Since the ibmveth firmware interface does not have the | 742 | * Since the ibmveth firmware interface does not have the |
@@ -838,7 +839,8 @@ static int ibmveth_set_csum_offload(struct net_device *dev, u32 data) | |||
838 | return rc1 ? rc1 : rc2; | 839 | return rc1 ? rc1 : rc2; |
839 | } | 840 | } |
840 | 841 | ||
841 | static int ibmveth_set_features(struct net_device *dev, u32 features) | 842 | static int ibmveth_set_features(struct net_device *dev, |
843 | netdev_features_t features) | ||
842 | { | 844 | { |
843 | struct ibmveth_adapter *adapter = netdev_priv(dev); | 845 | struct ibmveth_adapter *adapter = netdev_priv(dev); |
844 | int rx_csum = !!(features & NETIF_F_RXCSUM); | 846 | int rx_csum = !!(features & NETIF_F_RXCSUM); |