summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorPaul Gortmaker2011-07-15 17:47:34 +0200
committerPaul Gortmaker2011-11-01 00:30:30 +0100
commitbc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf (patch)
treeb0fd4e724bdb1c0a1783616614ae5a9dec1cfa5c /net/nfc
parentnet: add moduleparam.h for users of module_param/MODULE_PARM_DESC (diff)
downloadkernel-qcow2-linux-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.tar.gz
kernel-qcow2-linux-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.tar.xz
kernel-qcow2-linux-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.zip
net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules
These files are non modular, but need to export symbols using the macros now living in export.h -- call out the include so that things won't break when we remove the implicit presence of module.h from everywhere. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/nci/core.c1
-rw-r--r--net/nfc/rawsock.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/nfc/nci/core.c b/net/nfc/nci/core.c
index 4047e29acb3b..3925c6578767 100644
--- a/net/nfc/nci/core.c
+++ b/net/nfc/nci/core.c
@@ -28,6 +28,7 @@
#include <linux/types.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
+#include <linux/export.h>
#include <linux/sched.h>
#include <linux/bitops.h>
#include <linux/skbuff.h>
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c
index 9fd652a51424..ee7b2b365ef2 100644
--- a/net/nfc/rawsock.c
+++ b/net/nfc/rawsock.c
@@ -23,6 +23,7 @@
#include <net/tcp_states.h>
#include <linux/nfc.h>
+#include <linux/export.h>
#include "nfc.h"