summaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
authorPaul Gortmaker2011-05-27 03:07:10 +0200
committerPaul Gortmaker2011-10-31 14:20:13 +0100
commit72a59aaada499d9bbf19f2fb68daa37502e4a9bb (patch)
tree0a965ba72f6deec07a6ae77be4ac0349c8294708 /kernel/params.c
parentkernel: ksysfs.c is implicitly using stat.h (diff)
downloadkernel-qcow2-linux-72a59aaada499d9bbf19f2fb68daa37502e4a9bb.tar.gz
kernel-qcow2-linux-72a59aaada499d9bbf19f2fb68daa37502e4a9bb.tar.xz
kernel-qcow2-linux-72a59aaada499d9bbf19f2fb68daa37502e4a9bb.zip
kernel: params.c needs module.h not moduleparam.h
Through various other implicit include paths, some files were getting the full module.h file, and hence living the illusion that they really only needed moduleparam.h -- but the reality is that once you remove the module.h presence, these show up: kernel/params.c:583: warning: ‘struct module_kobject’ declared inside parameter list Such files really require module.h so simply make it so. As the file module.h grabs moduleparam.h on the fly, all will be well. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel/params.c')
-rw-r--r--kernel/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c
index 821788947e40..65aae11eb93f 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <linux/moduleparam.h>
+#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>