Search Linux Wireless

[PATCH] compat: fix tracpoint building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



trace/define_trace.h can be included more often and it have to.

This fixes some errors like this:
WARNING: "__tracepoint_iwlwifi_dev_rx" [/home/hauke/compat-wireless/compat-wireless-git/drivers/net/wireless/iwlwifi/iwlcore.ko] undefined!

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 include/trace/define_trace.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h
index a31105a..7d03ccf 100644
--- a/include/trace/define_trace.h
+++ b/include/trace/define_trace.h
@@ -1,10 +1,5 @@
-#ifndef _COMPAT_TRACE_DEFINE_TRACE_H
-#define _COMPAT_TRACE_DEFINE_TRACE_H 1
-
 #include <linux/version.h>
 
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30))
 #include_next <trace/define_trace.h>
 #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */
-
-#endif	/* _COMPAT_TRACE_DEFINE_TRACE_H */
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux