diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 01:53:52 +0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 17:20:12 +0400 |
commit | 56d82e000cdfb51aa92241d4682302f78c35cd92 (patch) | |
tree | db011bf38930f2d0d0fa8a8f43e223fd03e25fad /kernel/trace/ftrace.c | |
parent | 9984de1a5a8a96275fcab818f7419af5a3c86e71 (diff) | |
download | linux-56d82e000cdfb51aa92241d4682302f78c35cd92.tar.xz |
kernel: Add <linux/module.h> to files using it implicitly
These files are doing things like module_put and try_module_get
so they need to call out the module.h for explicit inclusion,
rather than getting it via <linux/device.h> which we ideally want
to remove the module.h inclusion from.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 077d85387908..900b409543db 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -22,6 +22,7 @@ #include <linux/hardirq.h> #include <linux/kthread.h> #include <linux/uaccess.h> +#include <linux/module.h> #include <linux/ftrace.h> #include <linux/sysctl.h> #include <linux/slab.h> |