diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-08-05 17:45:15 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-16 15:26:40 -0400 |
commit | 04600794958f1833f5571c6cde40f260ab557f55 (patch) | |
tree | e3e816cb3e99d40c18bffc618cf42dfa11d25c6e /include | |
parent | d1f5b7a34aa5ff703c4966ea2652d4212ac75940 (diff) | |
download | linux-04600794958f1833f5571c6cde40f260ab557f55.tar.gz linux-04600794958f1833f5571c6cde40f260ab557f55.tar.bz2 linux-04600794958f1833f5571c6cde40f260ab557f55.zip |
cfg80211: support sysfs namespaces
Enable using network namespaces with
wireless devices even when sysfs is
enabled using the same infrastructure
that was built for netdevs.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 46c36ffe20ee..a4b14fd81c6a 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2171,6 +2171,8 @@ extern void dev_seq_stop(struct seq_file *seq, void *v); extern int netdev_class_create_file(struct class_attribute *class_attr); extern void netdev_class_remove_file(struct class_attribute *class_attr); +extern struct kobj_ns_type_operations net_ns_type_operations; + extern char *netdev_drivername(const struct net_device *dev, char *buffer, int len); extern void linkwatch_run_queue(void); |