summaryrefslogtreecommitdiffstats
path: root/net/nfc/nci/spi.c
diff options
context:
space:
mode:
authorVincent Cuissard <cuissard@marvell.com>2015-10-26 10:27:42 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-27 04:21:38 +0100
commitfcd9d046fd8998cc984f2ff80e76f246ebca15b6 (patch)
treecca10ce5c49a17a575f30cfcc83923138747ff18 /net/nfc/nci/spi.c
parentNFC: nfcmrvl: add i2c driver (diff)
downloadlinux-fcd9d046fd8998cc984f2ff80e76f246ebca15b6.tar.xz
linux-fcd9d046fd8998cc984f2ff80e76f246ebca15b6.zip
NFC: NCI: move generic spi driver to a module
SPI driver should be a module. Signed-off-by: Vincent Cuissard <cuissard@marvell.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/nci/spi.c')
-rw-r--r--net/nfc/nci/spi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/nfc/nci/spi.c b/net/nfc/nci/spi.c
index ec250e77763a..25153d0e33cf 100644
--- a/net/nfc/nci/spi.c
+++ b/net/nfc/nci/spi.c
@@ -18,6 +18,8 @@
#define pr_fmt(fmt) "nci_spi: %s: " fmt, __func__
+#include <linux/module.h>
+
#include <linux/export.h>
#include <linux/spi/spi.h>
#include <linux/crc-ccitt.h>
@@ -320,3 +322,5 @@ done:
return skb;
}
EXPORT_SYMBOL_GPL(nci_spi_read);
+
+MODULE_LICENSE("GPL");