From 7b8245ada847664fd3bda3c05949d60085ec94e0 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 8 Jul 2010 23:11:58 +0200 Subject: [PATCH] compat: fix tracpoint building 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 --- include/trace/define_trace.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h index a31105a4c34e..7d03ccf770e5 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 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) #include_next #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */ - -#endif /* _COMPAT_TRACE_DEFINE_TRACE_H */ -- 2.30.2