From: Paul Gortmaker Date: Fri, 27 May 2011 01:07:10 +0000 (-0400) Subject: kernel: params.c needs module.h not moduleparam.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=72a59aaada499d9bbf19f2fb68daa37502e4a9bb;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 --- diff --git a/kernel/params.c b/kernel/params.c index 821788947e4..65aae11eb93 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 +#include #include #include #include