net: Fix files explicitly needing to include module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 13:12:25 +0000 (09:12 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:28 +0000 (19:30 -0400)
With calls to modular infrastructure, these files really
needs the full module.h header.  Call it out so some of the
cleanups of implicit and unrequired includes elsewhere can be
cleaned up.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
29 files changed:
net/802/garp.c
net/802/stp.c
net/8021q/vlan_netlink.c
net/bluetooth/hci_sysfs.c
net/bluetooth/mgmt.c
net/caif/caif_dev.c
net/core/fib_rules.c
net/dcb/dcbnl.c
net/dsa/dsa.c
net/ipv4/inet_timewait_sock.c
net/ipv4/netfilter/nf_nat_proto_sctp.c
net/ipv4/netfilter/nf_nat_proto_udplite.c
net/mac80211/rate.c
net/netfilter/x_tables.c
net/netfilter/xt_quota.c
net/netfilter/xt_statistic.c
net/nfc/af_nfc.c
net/phonet/pep.c
net/rds/ib.c
net/rds/iw.c
net/rds/rdma_transport.c
net/rds/tcp.c
net/sched/act_api.c
net/sched/cls_flow.c
net/sched/sch_mqprio.c
net/sunrpc/svc_xprt.c
net/sunrpc/svcsock.c
net/tipc/core.c
net/wimax/stack.c

index 070bf4403bf8fdde83a99c60c4c7b20b50ed831d..8e21b6db3981cc93cb5e4e00e30b820c9ff97af1 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/rtnetlink.h>
 #include <linux/llc.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <net/llc.h>
 #include <net/llc_pdu.h>
 #include <net/garp.h>
index 0e136ef1e4bab47307d9fc382709b2c552281ecd..15540b7323cde090b76f0d52a33e7ef69bfa05d3 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/etherdevice.h>
 #include <linux/llc.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <net/llc.h>
 #include <net/llc_pdu.h>
 #include <net/stp.h>
index be9a5c19a775aa64751b93795ccd5df1a453297a..235c2197dbb642d4bf6155f7a0975f7940cce908 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
 #include <linux/if_vlan.h>
+#include <linux/module.h>
 #include <net/net_namespace.h>
 #include <net/netlink.h>
 #include <net/rtnetlink.h>
index 22f1a6c87035b551c352acf70d53ed369d6e9dcd..661b461cf0b0873983b8fae4dbb83ad80d4de505 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/init.h>
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
+#include <linux/module.h>
 
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/hci_core.h>
index 5a94eec06caa900f9bb422b5cd7376076d67c63d..940858a48cbdbdbf562ef12645ebdfc568f23d78 100644 (file)
@@ -23,6 +23,7 @@
 /* Bluetooth HCI Management interface */
 
 #include <linux/uaccess.h>
+#include <linux/module.h>
 #include <asm/unaligned.h>
 
 #include <net/bluetooth/bluetooth.h>
index 47fc8f3a47cf237af78fbe4483fac7da0f2108ad..f1fa1f6e658d4dc84ca6eea2abceb6be6d3e8283 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/net.h>
 #include <linux/netdevice.h>
 #include <linux/mutex.h>
+#include <linux/module.h>
 #include <net/netns/generic.h>
 #include <net/net_namespace.h>
 #include <net/pkt_sched.h>
index 57e8f95110e6c39d0c562bbda5e3e140897765d3..c02e63c908da6972228735ba247dfcda6798b233 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/list.h>
+#include <linux/module.h>
 #include <net/net_namespace.h>
 #include <net/sock.h>
 #include <net/fib_rules.h>
index 9bfbc1d1b50c0a015cb60092fbfd121afa196e13..d86053002c16b896fdea34bd174b37e6c4aa3054 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/dcbnl.h>
 #include <net/dcbevent.h>
 #include <linux/rtnetlink.h>
+#include <linux/module.h>
 #include <net/sock.h>
 
 /**
index 3fb14b7c13cf1ed3bc5bb1439e6bfc35f907af96..0dc1589343c3f38335660752433d8b51d2898089 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/netdevice.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <net/dsa.h>
 #include "dsa_priv.h"
 
index 44d65d546e30c3938c07b3b7bbc3bbb46ae26558..89168c6351ff695b95fda442f94d6805acda5a84 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/kmemcheck.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <net/inet_hashtables.h>
 #include <net/inet_timewait_sock.h>
 #include <net/ip.h>
index 756331d42661cf12b2964256a8204b7a588f92f8..bd5a80a62a5b9f604463b1bf0fb6c31ca1ceb52b 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/init.h>
 #include <linux/ip.h>
 #include <linux/sctp.h>
+#include <linux/module.h>
 #include <net/sctp/checksum.h>
 
 #include <net/netfilter/nf_nat_protocol.h>
index 3cc8c8af39ef2fe82905fdad69b0b64af0f4e770..f83ef23e2ab708d946f54586024915b1ed489c35 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/udp.h>
 
 #include <linux/netfilter.h>
+#include <linux/module.h>
 #include <net/netfilter/nf_nat.h>
 #include <net/netfilter/nf_nat_protocol.h>
 
index ff5c3aa48a153a774275d7604df5c11f0d1a0cad..5a5a7767d541c2a952aecbeefca79125dfe17052 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/rtnetlink.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "rate.h"
 #include "ieee80211_i.h"
 #include "debugfs.h"
index 71441b934ffd5c4a3381a10c80de251554852f2e..8d987c3573fd4ca9e1708e188d487e53ebd7dfd7 100644 (file)
@@ -14,6 +14,7 @@
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/socket.h>
 #include <linux/net.h>
 #include <linux/proc_fs.h>
index 70eb2b4984ddb277e052458f325599910e57d875..44c8eb4c9d6680aef8f3473ca0b677f3888a68ca 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <linux/netfilter/x_tables.h>
 #include <linux/netfilter/xt_quota.h>
+#include <linux/module.h>
 
 struct xt_quota_priv {
        spinlock_t      lock;
index 42ecb71d445fe6d009ac252d1b030cd86befcfb1..4fe4fb4276d0076061610418b8154e9d11cd80b8 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <linux/netfilter/xt_statistic.h>
 #include <linux/netfilter/x_tables.h>
+#include <linux/module.h>
 
 struct xt_statistic_priv {
        atomic_t count;
index e982cef8f49d1c8b03895ddfaeed4f86fb437f83..da67756425ce927f233bd9f490e58befbefd4390 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <linux/nfc.h>
+#include <linux/module.h>
 
 #include "nfc.h"
 
index f17fd841f9487d944adcab970e3ff238ea2c9287..2ba6e9fb4cbcd9554b6cf3eadb9088ca9e577ad7 100644 (file)
@@ -30,6 +30,7 @@
 #include <asm/ioctls.h>
 
 #include <linux/phonet.h>
+#include <linux/module.h>
 #include <net/phonet/phonet.h>
 #include <net/phonet/pep.h>
 #include <net/phonet/gprs.h>
index 3b83086bcc3045a2231dab3d84753dd0af7bed51..b4c8b0022feeebea1aec424542e37a8391d87297 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/if_arp.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "rds.h"
 #include "ib.h"
index f7474844f096e50b9d340055c32c9a81f9a5c96a..7826d46baa7038366872ec412d97ecd94eb1d13f 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/if_arp.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "rds.h"
 #include "iw.h"
index f8760e1b6688b4d68247e1f0f5a45a11f55702f1..c2be901d19ee133b60c1b77006f02c88d8b1ec42 100644 (file)
@@ -30,6 +30,7 @@
  * SOFTWARE.
  *
  */
+#include <linux/module.h>
 #include <rdma/rdma_cm.h>
 
 #include "rdma_transport.h"
index 8e0a32001c90c531a2ad8361dc4bb0c399b812fe..edac9ef2bc8b1c2060a2030deb4225d14c2fcc89 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/in.h>
+#include <linux/module.h>
 #include <net/tcp.h>
 
 #include "rds.h"
index f2fb67e701a36a69b6a8beb0091363dd1b3ec4f7..93fdf131bd75e3e8e1969f1889c9d2a2cff90c67 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/init.h>
 #include <linux/kmod.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <net/net_namespace.h>
 #include <net/sock.h>
 #include <net/sch_generic.h>
index 9e087d885675cc7b2a4286635d93299ed9a89c46..7b582300d051dcb81765f07714b4e9d16e056a6a 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/ipv6.h>
 #include <linux/if_vlan.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <net/pkt_cls.h>
 #include <net/ip.h>
index ea17cbed29eff7215c062efe04c32de6bf513596..f88256cbacbfe4b89c202d591514fb28feaac11b 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/skbuff.h>
+#include <linux/module.h>
 #include <net/netlink.h>
 #include <net/pkt_sched.h>
 #include <net/sch_generic.h>
index d86bb673e1f68be3da207fb252e86dbf5a26417d..447cd0eb415c095fb58958b24e5353d17667c2d0 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/sunrpc/svc_xprt.h>
 #include <linux/sunrpc/svcsock.h>
 #include <linux/sunrpc/xprt.h>
+#include <linux/module.h>
 
 #define RPCDBG_FACILITY        RPCDBG_SVCXPRT
 
index dfd686eb0b7f2de3c75132e69194da8dfba7672a..71bed1c1c77a168da2299a1a009fa27e83253b1e 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/fcntl.h>
 #include <linux/net.h>
index 943b6af842650f97bab1ad576e96a78ba5c16b74..c21331d58fdb5d5839b1f9669757e45420dcb8fd 100644 (file)
@@ -34,6 +34,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <linux/module.h>
+
 #include "core.h"
 #include "ref.h"
 #include "name_table.h"
index ee99e7dfcdbaa2a87d81d9044e0c30690013e45d..3c65eae701c463f1a3d4c720873b2cbf44240fbc 100644 (file)
@@ -55,6 +55,7 @@
 #include <net/genetlink.h>
 #include <linux/netdevice.h>
 #include <linux/wimax.h>
+#include <linux/module.h>
 #include "wimax-internal.h"