summaryrefslogtreecommitdiffstats
path: root/kernel/rcutiny_plugin.h
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-25 13:13:57 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 09:20:13 -0400
commitbdfa97bf7263657b83bc5b68567a3a60dde84c5b (patch)
tree9bb8abdef63da8aa324808eb62009eaf732bd40f /kernel/rcutiny_plugin.h
parent72a59aaada499d9bbf19f2fb68daa37502e4a9bb (diff)
downloadop-kernel-dev-bdfa97bf7263657b83bc5b68567a3a60dde84c5b.zip
op-kernel-dev-bdfa97bf7263657b83bc5b68567a3a60dde84c5b.tar.gz
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 <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel/rcutiny_plugin.h')
-rw-r--r--kernel/rcutiny_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h
index 02aa713..2b0484a 100644
--- a/kernel/rcutiny_plugin.h
+++ b/kernel/rcutiny_plugin.h
@@ -23,6 +23,7 @@
*/
#include <linux/kthread.h>
+#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
OpenPOWER on IntegriCloud