From: Luis R. Rodriguez Date: Tue, 13 Oct 2009 21:01:27 +0000 (-0700) Subject: compat-2.6.27: move include for iw_handler on the top X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=18a00227dfd674eaca05118f229a6ca476e9c2fe;p=openwrt%2Fstaging%2Fblogic.git compat-2.6.27: move include for iw_handler on the top Signed-off-by: Luis R. Rodriguez --- diff --git a/compat/compat-2.6.27.h b/compat/compat-2.6.27.h index 8cc6c229dfb2..86019af66d27 100644 --- a/compat/compat-2.6.27.h +++ b/compat/compat-2.6.27.h @@ -14,7 +14,7 @@ #include #include #include - +#include #include #define PCI_PM_CAP_PME_SHIFT 11 @@ -163,9 +163,6 @@ static inline void list_splice_tail_init(struct list_head *list, extern unsigned int mmc_align_data_size(struct mmc_card *, unsigned int); extern unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz); -/** Include iw_handler.h before we redefine some methods **/ -#include - #define iwe_stream_add_value(info, event, value, ends, iwe, event_len) iwe_stream_add_value(event, value, ends, iwe, event_len) #define iwe_stream_add_point(info, stream, ends, iwe, extra) iwe_stream_add_point(stream, ends, iwe, extra) #define iwe_stream_add_event(info, stream, ends, iwe, event_len) iwe_stream_add_event(stream, ends, iwe, event_len) @@ -181,7 +178,6 @@ static inline int iwe_stream_lcp_len(struct iw_request_info *info) #endif return IW_EV_LCP_LEN; } -/** source: include/net/iw_handler.h **/ #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)) */