aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-09-21 05:35:38 -0400
committerDavid S. Miller <davem@davemloft.net>2012-09-21 15:43:58 -0400
commitabb17e6c0c7b27693201dc85f75dbb184279fd10 (patch)
tree145baf55b8df748bae4db7f4fca7c7a432081319 /include/linux/netlink.h
parent0bfd6075cf23d960198235b52f2fe941d7b397a2 (diff)
netlink: use <linux/export.h> instead of <linux/module.h>
Since (9f00d97 netlink: hide struct module parameter in netlink_kernel_create), linux/netlink.h includes linux/module.h because of the use of THIS_MODULE. Use linux/export.h instead, as suggested by Stephen Rothwell, which is significantly smaller and defines THIS_MODULES. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r--include/linux/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 73ade5fbc856..b3dc992fb25b 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -153,7 +153,7 @@ struct nlattr {
153 153
154#include <linux/capability.h> 154#include <linux/capability.h>
155#include <linux/skbuff.h> 155#include <linux/skbuff.h>
156#include <linux/module.h> 156#include <linux/export.h>
157#include <net/scm.h> 157#include <net/scm.h>
158 158
159struct net; 159struct net;