From: Hauke Mehrtens Date: Tue, 9 Aug 2011 20:59:41 +0000 (+0200) Subject: compat-wireless: remove include of compat-2.6.h in cfg80211.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0cd80004582392815e89709eede153f1ed614ab4;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: remove include of compat-2.6.h in cfg80211.h The header file linux/compat-2.6.h is inclued through -include $(M)/include/linux/compat-2.6.h in the main Makefile for a long time. This includes all the compat-*.h files backporting some stuff needed to compile on older kernels. We do not have to add this include into cfg80211.h any more. Signed-off-by: Hauke Mehrtens --- diff --git a/patches/98-add-compat-wireless.patch b/patches/98-add-compat-wireless.patch deleted file mode 100644 index 76def9a35aca..000000000000 --- a/patches/98-add-compat-wireless.patch +++ /dev/null @@ -1,30 +0,0 @@ - -This patch file includes the changes required to add -compat-wireless support. Besides all the patches in this -directory we have our own compat-2.6.*.[ch] files which -help backport more. These the respective compat-2.6.2x.c -files get compiled and enabled if you are on older kernels -to bring in support for new features when possible. - -Lastly, the cfg80211.h change is what allows us to -get all compat-2.6.*.h files included. Its our only -point of entry through compat code. It works because -all drivers we are supporting through there one way -or another depend on cfg80211. New wireless drivers -are either mac80211 drivers or cfg80211 drivers, and -all mac80211 drivesr are cfg80211 drivers. - -If your driver is not a cfg80211 driver you must -ensure you include compat.h then. I think we -added compat.h also for ssb, I forget. - ---- a/include/net/cfg80211.h -+++ b/include/net/cfg80211.h -@@ -23,6 +23,7 @@ - /* remove once we remove the wext stuff */ - #include - #include -+#include - - - /**