]> 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, 25 Aug 2011 17:54:32 +0000 (13:54 -0400)
commitf804c191c4e23a670e85e292393d697fcddef1ce
treefc9c1945d04851fe6874e37ce04e8eeac2a3f424
parentc83260d20cb69ba60181a437c17b7be612984eb4
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