aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@aristanetworks.com>2009-10-29 10:18:21 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-30 15:41:18 -0400
commit0c509a6c9393b27a8c5a01acd4a72616206cfc24 (patch)
tree4e6aa609537144de3d09e461528d22e7f448ef55 /include/linux/netdevice.h
parent0bd8d53656da72bc065766b5f2a05ca738020b8a (diff)
net: Allow devices to specify a device specific sysfs group.
This isn't beautifully abstracted, but it is simple, simplifies uses and so far is only needed for the bonding driver. Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 193b637889f9..e5ece8dceaad 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -900,8 +900,8 @@ struct net_device
900 900
901 /* class/net/name entry */ 901 /* class/net/name entry */
902 struct device dev; 902 struct device dev;
903 /* space for optional statistics and wireless sysfs groups */ 903 /* space for optional device, statistics, and wireless sysfs groups */
904 const struct attribute_group *sysfs_groups[3]; 904 const struct attribute_group *sysfs_groups[4];
905 905
906 /* rtnetlink link ops */ 906 /* rtnetlink link ops */
907 const struct rtnl_link_ops *rtnl_link_ops; 907 const struct rtnl_link_ops *rtnl_link_ops;