netfilter: nf_tables: fix implicit include of module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 15 Apr 2019 20:43:15 +0000 (16:43 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Apr 2019 11:35:26 +0000 (13:35 +0200)
This file clearly uses modular infrastructure but does not call
out the inclusion of <linux/module.h> explicitly.  We add that
include explicitly here, so we can tidy up some header usage
elsewhere w/o causing build breakage.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_set_core.c

index 8147896..a9fce8d 100644 (file)
@@ -1,4 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/module.h>
 #include <net/netfilter/nf_tables_core.h>
 
 static int __init nf_tables_set_module_init(void)