]> 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>
Thu, 11 Aug 2011 19:10:24 +0000 (15:10 -0400)
commit6acee7995fe9c62c4a9c5bc03f5b5f9e4d24cd5e
tree460545c53bc98f06ce2e93ae1962d951937d0a84
parentea4fa30439246d8be0ad2446d818573e2ca919f8
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