diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index ecd78b3c9aba..b14ad9c139d7 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -913,8 +913,8 @@ struct netdev_xdp { | |||
913 | * Callback used when the transmitter has not made any progress | 913 | * Callback used when the transmitter has not made any progress |
914 | * for dev->watchdog ticks. | 914 | * for dev->watchdog ticks. |
915 | * | 915 | * |
916 | * struct rtnl_link_stats64* (*ndo_get_stats64)(struct net_device *dev, | 916 | * void (*ndo_get_stats64)(struct net_device *dev, |
917 | * struct rtnl_link_stats64 *storage); | 917 | * struct rtnl_link_stats64 *storage); |
918 | * struct net_device_stats* (*ndo_get_stats)(struct net_device *dev); | 918 | * struct net_device_stats* (*ndo_get_stats)(struct net_device *dev); |
919 | * Called when a user wants to get the network device usage | 919 | * Called when a user wants to get the network device usage |
920 | * statistics. Drivers must do one of the following: | 920 | * statistics. Drivers must do one of the following: |
@@ -1165,8 +1165,8 @@ struct net_device_ops { | |||
1165 | struct neigh_parms *); | 1165 | struct neigh_parms *); |
1166 | void (*ndo_tx_timeout) (struct net_device *dev); | 1166 | void (*ndo_tx_timeout) (struct net_device *dev); |
1167 | 1167 | ||
1168 | struct rtnl_link_stats64* (*ndo_get_stats64)(struct net_device *dev, | 1168 | void (*ndo_get_stats64)(struct net_device *dev, |
1169 | struct rtnl_link_stats64 *storage); | 1169 | struct rtnl_link_stats64 *storage); |
1170 | bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id); | 1170 | bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id); |
1171 | int (*ndo_get_offload_stats)(int attr_id, | 1171 | int (*ndo_get_offload_stats)(int attr_id, |
1172 | const struct net_device *dev, | 1172 | const struct net_device *dev, |