]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel: params/rcutiny needs module.h not moduleparam.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 01:07:10 +0000 (21:07 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 05:43:45 +0000 (01:43 -0400)
commit68df289cb18425fcf1e976ebda83c8c5295a3aff
treed80993bbb3c232e7b51efac135de78acd3cbf79d
parent2da8aaa92635e4626ac722eb7b12f54a86a7dd6e
kernel: params/rcutiny needs module.h not moduleparam.h

Through various other twisted include paths, these files were
getting the full module.h file, and hence living the illusion
that it really only needed moduleparam.h -- but the reality
is that once you remove module.h, you will get screenfulls of
things like:

kernel/params.c:583: warning: â€˜struct module_kobject’ declared inside parameter list

The file really requires 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>
kernel/params.c
kernel/rcutiny.c