mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
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>
This commit is contained in:
parent
0bfd6075cf
commit
abb17e6c0c
@ -153,7 +153,7 @@ struct nlattr {
|
||||
|
||||
#include <linux/capability.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/export.h>
|
||||
#include <net/scm.h>
|
||||
|
||||
struct net;
|
||||
|
Loading…
Reference in New Issue
Block a user