]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kernel: params.c 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>
Mon, 31 Oct 2011 13:20:13 +0000 (09:20 -0400)
commit72a59aaada499d9bbf19f2fb68daa37502e4a9bb
tree0a965ba72f6deec07a6ae77be4ac0349c8294708
parent1596425fd7545abccb7b5059376e4d56c3d6be4d
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>
kernel/params.c