diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-08-18 13:46:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-18 22:37:27 -0700 |
commit | 737aec57c672c1308d602afecd841455c39561e5 (patch) | |
tree | 5fe772e7da776ad870a248f82044ae70f6255dd6 /include | |
parent | e6d473e63536ea1989dc63c066f0c0464a969324 (diff) | |
download | linux-737aec57c672c1308d602afecd841455c39561e5.tar.bz2 |
net: constify net_ns_type_operations
This can be const.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index eaa77bd9cb80..b0c928598dab 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -4028,7 +4028,7 @@ static inline void netdev_class_remove_file(const struct class_attribute *class_ netdev_class_remove_file_ns(class_attr, NULL); } -extern struct kobj_ns_type_operations net_ns_type_operations; +extern const struct kobj_ns_type_operations net_ns_type_operations; const char *netdev_drivername(const struct net_device *dev); |