NFC: Add netlink module alias for NFC
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 12 Jun 2012 14:54:16 +0000 (16:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:14 +0000 (16:42 -0400)
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/core.c

index 8382fbc92237175fef60e993a4d084ffe3b0d134..ff749794bc5b87d0b72e36e48cf92caa9487d130 100644 (file)
@@ -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);