aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index eef257c76a40..f7bff9615728 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -792,11 +792,11 @@ struct netdev_tc_txq {
792 * 3. Update dev->stats asynchronously and atomically, and define 792 * 3. Update dev->stats asynchronously and atomically, and define
793 * neither operation. 793 * neither operation.
794 * 794 *
795 * void (*ndo_vlan_rx_add_vid)(struct net_device *dev, unsigned short vid); 795 * int (*ndo_vlan_rx_add_vid)(struct net_device *dev, unsigned short vid);
796 * If device support VLAN filtering (dev->features & NETIF_F_HW_VLAN_FILTER) 796 * If device support VLAN filtering (dev->features & NETIF_F_HW_VLAN_FILTER)
797 * this function is called when a VLAN id is registered. 797 * this function is called when a VLAN id is registered.
798 * 798 *
799 * void (*ndo_vlan_rx_kill_vid)(struct net_device *dev, unsigned short vid); 799 * int (*ndo_vlan_rx_kill_vid)(struct net_device *dev, unsigned short vid);
800 * If device support VLAN filtering (dev->features & NETIF_F_HW_VLAN_FILTER) 800 * If device support VLAN filtering (dev->features & NETIF_F_HW_VLAN_FILTER)
801 * this function is called when a VLAN id is unregistered. 801 * this function is called when a VLAN id is unregistered.
802 * 802 *
@@ -911,9 +911,9 @@ struct net_device_ops {
911 struct rtnl_link_stats64 *storage); 911 struct rtnl_link_stats64 *storage);
912 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev); 912 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
913 913
914 void (*ndo_vlan_rx_add_vid)(struct net_device *dev, 914 int (*ndo_vlan_rx_add_vid)(struct net_device *dev,
915 unsigned short vid); 915 unsigned short vid);
916 void (*ndo_vlan_rx_kill_vid)(struct net_device *dev, 916 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev,
917 unsigned short vid); 917 unsigned short vid);
918#ifdef CONFIG_NET_POLL_CONTROLLER 918#ifdef CONFIG_NET_POLL_CONTROLLER
919 void (*ndo_poll_controller)(struct net_device *dev); 919 void (*ndo_poll_controller)(struct net_device *dev);