diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-12 10:01:41 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:46 +0200 |
commit | cd4689f3d34d36b1531d3d82a700523f1b931917 (patch) | |
tree | 8b118340258cf521f4a84218385ee84676fc7d42 /backport/backport-include/linux/genetlink.h | |
parent | 907f7cef17f50ca086eef1c0e503ecbb44c345d9 (diff) |
backports: dissolve compat-3.5.h
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/genetlink.h')
-rw-r--r-- | backport/backport-include/linux/genetlink.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/backport/backport-include/linux/genetlink.h b/backport/backport-include/linux/genetlink.h new file mode 100644 index 00000000..afd1f678 --- /dev/null +++ b/backport/backport-include/linux/genetlink.h @@ -0,0 +1,18 @@ +#ifndef __BACKPORT_LINUX_GENETLINK_H +#define __BACKPORT_LINUX_GENETLINK_H +#include_next <linux/genetlink.h> + +/* This backports: + * + * commit e9412c37082b5c932e83364aaed0c38c2ce33acb + * Author: Neil Horman <nhorman@tuxdriver.com> + * Date: Tue May 29 09:30:41 2012 +0000 + * + * genetlink: Build a generic netlink family module alias + */ +#ifndef MODULE_ALIAS_GENL_FAMILY +#define MODULE_ALIAS_GENL_FAMILY(family)\ + MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family) +#endif + +#endif /* __BACKPORT_LINUX_GENETLINK_H */ |