]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 15 Jul 2011 15:47:34 +0000 (11:47 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:54:33 +0000 (13:54 -0400)
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>
net/caif/cfpkt_skbuff.c
net/netfilter/ipset/pfxlen.c

index 75d4bfae1a78714b46dc303769ff26f2b6bc8b91..df08c47183d477b96bf26cb026043f17c1abcf64 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/string.h>
 #include <linux/skbuff.h>
 #include <linux/hardirq.h>
+#include <linux/export.h>
 #include <net/caif/cfpkt.h>
 
 #define PKT_PREFIX  48
index bd13d66220f154801b4b21662f25990b27d829b8..4f29fa97044b18523967cdc8b8c6ab272376a2fb 100644 (file)
@@ -1,3 +1,4 @@
+#include <linux/export.h>
 #include <linux/netfilter/ipset/pfxlen.h>
 
 /*