From: Hauke Mehrtens Date: Thu, 8 Jul 2010 21:11:58 +0000 (+0200) Subject: compat: fix tracpoint building X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7b8245ada847664fd3bda3c05949d60085ec94e0;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 */