Skip to contentSkip to conversation

tracing/fastboot: include missing headers

PATCH In review Frederic Weisbecker 2 participants 2 messages Dec 11, 2008 – Dec 12, 2008 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 tracing/fastboot: include missing headers

For now include/trace/boot.h doesn't need to include necessary headers for its functions and structures because the files that include it already do it.

But boot.h could be needed as well for further uses on other files. So, this patch adds the necessary headers for future purposes...

---

include/trace/boot.h +4 -0
index 3ec58b4..088ea08 100644
@@ -1,6 +1,10 @@
 #ifndef _LINUX_TRACE_BOOT_H
 #define _LINUX_TRACE_BOOT_H
 
+#include <linux/module.h>
+#include <linux/kallsyms.h>
+#include <linux/init.h>
+
 /*
  * Structure which defines the trace of an initcall
  * while it is called.
Signature · 1 line
1.6.0.4
#1 lore raw
Quoted 8 lines · Frederic Weisbecker

For now include/trace/boot.h doesn't need to include necessary headers for its functions and structures because the files that include it already do it.

But boot.h could be needed as well for further uses on other files. So, this patch adds the necessary headers for future purposes...

applied to tip/tracing/fastboot, thanks!

Ingo