From: Paul Gortmaker Date: Tue, 25 Oct 2011 17:13:57 +0000 (-0400) Subject: kernel: fix up module header handling in rcutiny files X-Git-Tag: MMI-PSA29.97-13-9~18087^2~216 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bdfa97bf7263657b83bc5b68567a3a60dde84c5b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git kernel: fix up module header handling in rcutiny files The file rcutiny.c does not need moduleparam.h header, as there are no modparams in this file. However rcutiny_plugin.h does define a module_init() and a module_exit() and it uses the various MODULE_ macros, so it really does need module.h included. Signed-off-by: Paul Gortmaker --- diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c index b5e525d67fe3..636af6d9c6e5 100644 --- a/kernel/rcutiny.c +++ b/kernel/rcutiny.c @@ -22,7 +22,6 @@ * For detailed explanation of Read-Copy Update mechanism see - * Documentation/RCU */ -#include #include #include #include diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h index 02aa7139861c..2b0484a5dc28 100644 --- a/kernel/rcutiny_plugin.h +++ b/kernel/rcutiny_plugin.h @@ -23,6 +23,7 @@ */ #include +#include #include #include