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>
This commit is contained in:
parent
0bd8d53656
commit
0c509a6c93
2 changed files with 6 additions and 3 deletions
|
|
@ -900,8 +900,8 @@ struct net_device
|
|||
|
||||
/* class/net/name entry */
|
||||
struct device dev;
|
||||
/* space for optional statistics and wireless sysfs groups */
|
||||
const struct attribute_group *sysfs_groups[3];
|
||||
/* space for optional device, statistics, and wireless sysfs groups */
|
||||
const struct attribute_group *sysfs_groups[4];
|
||||
|
||||
/* rtnetlink link ops */
|
||||
const struct rtnl_link_ops *rtnl_link_ops;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue