summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-06-12 18:54:16 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-07-10 00:42:14 +0400
commit5df16cad44f13293803ad3fbc4d49ae2c40e1f0f (patch)
treeb0dac2a880dd981d198cb257921ac9dfff42efda /net
parent1155bb617a10a67d7a17d03abeee74c6fc85edf4 (diff)
downloadlinux-5df16cad44f13293803ad3fbc4d49ae2c40e1f0f.tar.xz
NFC: Add netlink module alias for NFC
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/nfc/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/nfc/core.c b/net/nfc/core.c
index 8382fbc92237..ff749794bc5b 100644
--- a/net/nfc/core.c
+++ b/net/nfc/core.c
@@ -29,6 +29,8 @@
#include <linux/slab.h>
#include <linux/nfc.h>
+#include <net/genetlink.h>
+
#include "nfc.h"
#define VERSION "0.1"
@@ -925,3 +927,4 @@ MODULE_DESCRIPTION("NFC Core ver " VERSION);
MODULE_VERSION(VERSION);
MODULE_LICENSE("GPL");
MODULE_ALIAS_NETPROTO(PF_NFC);
+MODULE_ALIAS_GENL_FAMILY(NFC_GENL_NAME);