summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-06-12 14:54:16 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-07-09 20:42:14 (GMT)
commit5df16cad44f13293803ad3fbc4d49ae2c40e1f0f (patch)
treeb0dac2a880dd981d198cb257921ac9dfff42efda /net/nfc
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/nfc')
-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 8382fbc..ff74979 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);