summaryrefslogtreecommitdiff
path: root/net/ax25
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-15 11:47:34 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:30 -0400
commitbc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf (patch)
treeb0fd4e724bdb1c0a1783616614ae5a9dec1cfa5c /net/ax25
parentd9b9384215e17c68d7b6bd05d6fa409e5d4140d7 (diff)
downloadlinux-3.10-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.tar.gz
linux-3.10-bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf.tar.bz2
linux-3.10-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/ax25')
-rw-r--r--net/ax25/ax25_route.c1
-rw-r--r--net/ax25/ax25_uid.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c
index a1690845dc6..87fddab22e0 100644
--- a/net/ax25/ax25_route.c
+++ b/net/ax25/ax25_route.c
@@ -38,6 +38,7 @@
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/seq_file.h>
+#include <linux/export.h>
static ax25_route *ax25_route_list;
static DEFINE_RWLOCK(ax25_route_lock);
diff --git a/net/ax25/ax25_uid.c b/net/ax25/ax25_uid.c
index d349be9578f..4c83137b595 100644
--- a/net/ax25/ax25_uid.c
+++ b/net/ax25/ax25_uid.c
@@ -37,6 +37,7 @@
#include <linux/stat.h>
#include <linux/netfilter.h>
#include <linux/sysctl.h>
+#include <linux/export.h>
#include <net/ip.h>
#include <net/arp.h>