diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-11 23:41:46 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:45 +0200 |
commit | 0b2d591d325cfa0fb028982cfb5b3d63c798e6a1 (patch) | |
tree | 63e21acfd2390fc6b23bf00351042cdb7fcea47b /backport/backport-include/linux/netdevice.h | |
parent | 82a36cc4b5af7fa17db71c7495dc5d9263d4fac9 (diff) |
backports: dissolve compat-2.6.25.h
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/netdevice.h')
-rw-r--r-- | backport/backport-include/linux/netdevice.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h new file mode 100644 index 00000000..0b83dc43 --- /dev/null +++ b/backport/backport-include/linux/netdevice.h @@ -0,0 +1,13 @@ +#ifndef __BACKPORT_NETDEVICE_H +#define __BACKPORT_NETDEVICE_H +#include_next <linux/netdevice.h> +#include <linux/version.h> + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) +#define __dev_addr_sync LINUX_BACKPORT(__dev_addr_sync) +extern int __dev_addr_sync(struct dev_addr_list **to, int *to_count, struct dev_addr_list **from, int *from_count); +#define __dev_addr_unsync LINUX_BACKPORT(__dev_addr_unsync) +extern void __dev_addr_unsync(struct dev_addr_list **to, int *to_count, struct dev_addr_list **from, int *from_count); +#endif + +#endif /* __BACKPORT_NETDEVICE_H */ |