summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-06-12 16:54:16 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-07-09 16:42:14 -0400
commit5df16cad44f13293803ad3fbc4d49ae2c40e1f0f (patch)
treeb0dac2a880dd981d198cb257921ac9dfff42efda /net/nfc
parent1155bb617a10a67d7a17d03abeee74c6fc85edf4 (diff)
downloadlinux-5df16cad44f13293803ad3fbc4d49ae2c40e1f0f.tar.gz
linux-5df16cad44f13293803ad3fbc4d49ae2c40e1f0f.tar.bz2
linux-5df16cad44f13293803ad3fbc4d49ae2c40e1f0f.zip
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 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);