Commit 5df16cad authored by Samuel Ortiz's avatar Samuel Ortiz Committed by John W. Linville

NFC: Add netlink module alias for NFC

Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 1155bb61
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/nfc.h> #include <linux/nfc.h>
#include <net/genetlink.h>
#include "nfc.h" #include "nfc.h"
#define VERSION "0.1" #define VERSION "0.1"
...@@ -925,3 +927,4 @@ MODULE_DESCRIPTION("NFC Core ver " VERSION); ...@@ -925,3 +927,4 @@ MODULE_DESCRIPTION("NFC Core ver " VERSION);
MODULE_VERSION(VERSION); MODULE_VERSION(VERSION);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS_NETPROTO(PF_NFC); MODULE_ALIAS_NETPROTO(PF_NFC);
MODULE_ALIAS_GENL_FAMILY(NFC_GENL_NAME);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment