Browse Source

net: Fix files explicitly needing to include module.h

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>
imx_3.10.17_1.0.0_ga
Paul Gortmaker 9 years ago
parent
commit
3a9a231d97
29 changed files with 30 additions and 0 deletions
  1. +1
    -0
      net/802/garp.c
  2. +1
    -0
      net/802/stp.c
  3. +1
    -0
      net/8021q/vlan_netlink.c
  4. +1
    -0
      net/bluetooth/hci_sysfs.c
  5. +1
    -0
      net/bluetooth/mgmt.c
  6. +1
    -0
      net/caif/caif_dev.c
  7. +1
    -0
      net/core/fib_rules.c
  8. +1
    -0
      net/dcb/dcbnl.c
  9. +1
    -0
      net/dsa/dsa.c
  10. +1
    -0
      net/ipv4/inet_timewait_sock.c
  11. +1
    -0
      net/ipv4/netfilter/nf_nat_proto_sctp.c
  12. +1
    -0
      net/ipv4/netfilter/nf_nat_proto_udplite.c
  13. +1
    -0
      net/mac80211/rate.c
  14. +1
    -0
      net/netfilter/x_tables.c
  15. +1
    -0
      net/netfilter/xt_quota.c
  16. +1
    -0
      net/netfilter/xt_statistic.c
  17. +1
    -0
      net/nfc/af_nfc.c
  18. +1
    -0
      net/phonet/pep.c
  19. +1
    -0
      net/rds/ib.c
  20. +1
    -0
      net/rds/iw.c
  21. +1
    -0
      net/rds/rdma_transport.c
  22. +1
    -0
      net/rds/tcp.c
  23. +1
    -0
      net/sched/act_api.c
  24. +1
    -0
      net/sched/cls_flow.c
  25. +1
    -0
      net/sched/sch_mqprio.c
  26. +1
    -0
      net/sunrpc/svc_xprt.c
  27. +1
    -0
      net/sunrpc/svcsock.c
  28. +2
    -0
      net/tipc/core.c
  29. +1
    -0
      net/wimax/stack.c

+ 1
- 0
net/802/garp.c View 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>


+ 1
- 0
net/802/stp.c View 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>


+ 1
- 0
net/8021q/vlan_netlink.c View 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>


+ 1
- 0
net/bluetooth/hci_sysfs.c View 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>


+ 1
- 0
net/bluetooth/mgmt.c View 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>


+ 1
- 0
net/caif/caif_dev.c View 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>


+ 1
- 0
net/core/fib_rules.c View 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>


+ 1
- 0
net/dcb/dcbnl.c View 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>
/**


+ 1
- 0
net/dsa/dsa.c View 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"


+ 1
- 0
net/ipv4/inet_timewait_sock.c View 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>


+ 1
- 0
net/ipv4/netfilter/nf_nat_proto_sctp.c View 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>


+ 1
- 0
net/ipv4/netfilter/nf_nat_proto_udplite.c View 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>


+ 1
- 0
net/mac80211/rate.c View 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"


+ 1
- 0
net/netfilter/x_tables.c View 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>


+ 1
- 0
net/netfilter/xt_quota.c View 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;


+ 1
- 0
net/netfilter/xt_statistic.c View 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;


+ 1
- 0
net/nfc/af_nfc.c View File

@ -22,6 +22,7 @@
*/
#include <linux/nfc.h>
#include <linux/module.h>
#include "nfc.h"


+ 1
- 0
net/phonet/pep.c View 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>


+ 1
- 0
net/rds/ib.c View 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"


+ 1
- 0
net/rds/iw.c View 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"


+ 1
- 0
net/rds/rdma_transport.c View File

@ -30,6 +30,7 @@
* SOFTWARE.
*
*/
#include <linux/module.h>
#include <rdma/rdma_cm.h>
#include "rdma_transport.h"


+ 1
- 0
net/rds/tcp.c View 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"


+ 1
- 0
net/sched/act_api.c View 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>


+ 1
- 0
net/sched/cls_flow.c View 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>


+ 1
- 0
net/sched/sch_mqprio.c View 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>


+ 1
- 0
net/sunrpc/svc_xprt.c View 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


+ 1
- 0
net/sunrpc/svcsock.c View 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>


+ 2
- 0
net/tipc/core.c View File

@ -34,6 +34,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <linux/module.h>
#include "core.h"
#include "ref.h"
#include "name_table.h"


+ 1
- 0
net/wimax/stack.c View 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"


Loading…
Cancel
Save