浏览代码

net: add moduleparam.h for users of module_param/MODULE_PARM_DESC

These files were getting access to these two via the implicit
presence of module.h everywhere.  They aren't modules, so they
don't need the full module.h inclusion though.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 13 年之前
父节点
当前提交
d9b9384215
共有 6 个文件被更改,包括 6 次插入0 次删除
  1. 1 0
      net/dccp/ccids/lib/tfrc.c
  2. 1 0
      net/mac80211/mlme.c
  3. 1 0
      net/netfilter/nf_conntrack_expect.c
  4. 1 0
      net/rds/send.c
  5. 1 0
      net/rfkill/input.c
  6. 1 0
      net/wireless/reg.c

+ 1 - 0
net/dccp/ccids/lib/tfrc.c

@@ -4,6 +4,7 @@
  * Copyright (c) 2007 The University of Aberdeen, Scotland, UK
  * Copyright (c) 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
  */
+#include <linux/moduleparam.h>
 #include "tfrc.h"
 
 #ifdef CONFIG_IP_DCCP_TFRC_DEBUG

+ 1 - 0
net/mac80211/mlme.c

@@ -16,6 +16,7 @@
 #include <linux/skbuff.h>
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
+#include <linux/moduleparam.h>
 #include <linux/rtnetlink.h>
 #include <linux/pm_qos.h>
 #include <linux/crc32.h>

+ 1 - 0
net/netfilter/nf_conntrack_expect.c

@@ -20,6 +20,7 @@
 #include <linux/percpu.h>
 #include <linux/kernel.h>
 #include <linux/jhash.h>
+#include <linux/moduleparam.h>
 #include <net/net_namespace.h>
 
 #include <net/netfilter/nf_conntrack.h>

+ 1 - 0
net/rds/send.c

@@ -31,6 +31,7 @@
  *
  */
 #include <linux/kernel.h>
+#include <linux/moduleparam.h>
 #include <linux/gfp.h>
 #include <net/sock.h>
 #include <linux/in.h>

+ 1 - 0
net/rfkill/input.c

@@ -15,6 +15,7 @@
 
 #include <linux/input.h>
 #include <linux/slab.h>
+#include <linux/moduleparam.h>
 #include <linux/workqueue.h>
 #include <linux/init.h>
 #include <linux/rfkill.h>

+ 1 - 0
net/wireless/reg.c

@@ -42,6 +42,7 @@
 #include <linux/ctype.h>
 #include <linux/nl80211.h>
 #include <linux/platform_device.h>
+#include <linux/moduleparam.h>
 #include <net/cfg80211.h>
 #include "core.h"
 #include "reg.h"