Search Linux Wireless

[PATCH 1/2] compat-wireless: remove include of compat-2.6.h in cfg80211.h

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

 



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 <hauke@xxxxxxxxxx>
---
 patches/98-add-compat-wireless.patch |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)
 delete mode 100644 patches/98-add-compat-wireless.patch

diff --git a/patches/98-add-compat-wireless.patch b/patches/98-add-compat-wireless.patch
deleted file mode 100644
index 76def9a..0000000
--- 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 <net/iw_handler.h>
- #include <linux/wireless.h>
-+#include <linux/compat-2.6.h>
- 
- 
- /**
-- 
1.7.4.1

--
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