From: Johannes Berg Date: Mon, 15 Apr 2013 20:42:11 +0000 (+0200) Subject: Revert "backports: remove header file patches" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62778e880b8d40f972619e458be48dc1c403bc09;p=openwrt%2Fstaging%2Fblogic.git Revert "backports: remove header file patches" This reverts commit 41a5d256482183aed7b863bc0bdbf95955cdf23b. These still seem to be needed ... need to fix first. Signed-off-by: Johannes Berg --- diff --git a/patches/collateral-evolutions/network/06-header-changes/INFO b/patches/collateral-evolutions/network/06-header-changes/INFO new file mode 100644 index 000000000000..eccf5d6d01a1 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/INFO @@ -0,0 +1,6 @@ + +Every kernel release there are a few changes to headers +made. Some code gets shifted around between headers or +new headers are defined. This patch deals with such +cases. + diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ath_ath6kl_cfg80211.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ath_ath6kl_cfg80211.patch new file mode 100644 index 000000000000..193faac33650 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ath_ath6kl_cfg80211.patch @@ -0,0 +1,10 @@ +--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c ++++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + #include "core.h" + #include "cfg80211.h" diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ath_ath6kl_htc_pipe.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ath_ath6kl_htc_pipe.patch new file mode 100644 index 000000000000..ef7769147f68 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ath_ath6kl_htc_pipe.patch @@ -0,0 +1,13 @@ +--- a/drivers/net/wireless/ath/ath6kl/htc_pipe.c ++++ b/drivers/net/wireless/ath/ath6kl/htc_pipe.c +@@ -18,6 +18,10 @@ + #include "debug.h" + #include "hif-ops.h" + ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) ++#include ++#endif ++ + #define HTC_PACKET_CONTAINER_ALLOCATION 32 + #define HTC_CONTROL_BUFFER_SIZE (HTC_MAX_CTRL_MSG_LEN + HTC_HDR_LENGTH) + diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_b43_phy_common.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_b43_phy_common.patch new file mode 100644 index 000000000000..1b8189acbe5a --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_b43_phy_common.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/b43/phy_common.h ++++ b/drivers/net/wireless/b43/phy_common.h +@@ -3,6 +3,9 @@ + + #include + #include ++#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) ++#include ++#endif + + struct b43_wldev; + diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_mwifiex_usb.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_mwifiex_usb.patch new file mode 100644 index 000000000000..75a3db991e01 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_mwifiex_usb.patch @@ -0,0 +1,10 @@ +--- a/drivers/net/wireless/mwifiex/usb.c ++++ b/drivers/net/wireless/mwifiex/usb.c +@@ -19,6 +19,7 @@ + + #include "main.h" + #include "usb.h" ++#include + + #define USB_VERSION "1.0" + diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_rtlwifi_base.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_rtlwifi_base.patch new file mode 100644 index 000000000000..ea33c7d85b6f --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_rtlwifi_base.patch @@ -0,0 +1,10 @@ +--- a/drivers/net/wireless/rtlwifi/base.c ++++ b/drivers/net/wireless/rtlwifi/base.c +@@ -36,6 +36,7 @@ + #include "regd.h" + + #include ++#include + #include + + /* diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wl1251_main.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wl1251_main.patch new file mode 100644 index 000000000000..4701f4883f1c --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wl1251_main.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/ti/wl1251/main.c ++++ b/drivers/net/wireless/ti/wl1251/main.c +@@ -24,6 +24,9 @@ + #include + #include + #include ++#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) ++#include ++#endif + #include + #include + #include diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wl1251_spi.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wl1251_spi.patch new file mode 100644 index 000000000000..97850f0d6d85 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wl1251_spi.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/ti/wl1251/spi.c ++++ b/drivers/net/wireless/ti/wl1251/spi.c +@@ -24,6 +24,9 @@ + #include + #include + #include ++#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,28)) ++#include ++#endif + #include + #include + diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wlcore_event.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wlcore_event.patch new file mode 100644 index 000000000000..3bc339643783 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wlcore_event.patch @@ -0,0 +1,10 @@ +--- a/drivers/net/wireless/ti/wlcore/event.c ++++ b/drivers/net/wireless/ti/wlcore/event.c +@@ -21,6 +21,7 @@ + * + */ + ++#include + #include "wlcore.h" + #include "debug.h" + #include "io.h" diff --git a/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wlcore_scan.patch b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wlcore_scan.patch new file mode 100644 index 000000000000..848aa82adca4 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/drivers_net_wireless_ti_wlcore_scan.patch @@ -0,0 +1,10 @@ +--- a/drivers/net/wireless/ti/wlcore/scan.c ++++ b/drivers/net/wireless/ti/wlcore/scan.c +@@ -22,6 +22,7 @@ + */ + + #include ++#include + + #include "wlcore.h" + #include "debug.h" diff --git a/patches/collateral-evolutions/network/06-header-changes/include_net_mac80211.patch b/patches/collateral-evolutions/network/06-header-changes/include_net_mac80211.patch new file mode 100644 index 000000000000..2ba84707ecfd --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/include_net_mac80211.patch @@ -0,0 +1,10 @@ +--- a/include/net/mac80211.h ++++ b/include/net/mac80211.h +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + /** + * DOC: Introduction diff --git a/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_bnep_sock.patch b/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_bnep_sock.patch new file mode 100644 index 000000000000..9c949d26f389 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_bnep_sock.patch @@ -0,0 +1,10 @@ +--- a/net/bluetooth/bnep/sock.c ++++ b/net/bluetooth/bnep/sock.c +@@ -26,6 +26,7 @@ + + #include + #include ++#include + + #include "bnep.h" + diff --git a/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_hci_sock.patch b/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_hci_sock.patch new file mode 100644 index 000000000000..08d68fd62047 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_hci_sock.patch @@ -0,0 +1,10 @@ +--- a/net/bluetooth/hci_sock.c ++++ b/net/bluetooth/hci_sock.c +@@ -25,6 +25,7 @@ + /* Bluetooth HCI sockets. */ + + #include ++#include + #include + + #include diff --git a/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_hidp_sock.patch b/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_hidp_sock.patch new file mode 100644 index 000000000000..1e351761199c --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/net_bluetooth_hidp_sock.patch @@ -0,0 +1,10 @@ +--- a/net/bluetooth/hidp/sock.c ++++ b/net/bluetooth/hidp/sock.c +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #include "hidp.h" + diff --git a/patches/collateral-evolutions/network/06-header-changes/net_mac80211_key.patch b/patches/collateral-evolutions/network/06-header-changes/net_mac80211_key.patch new file mode 100644 index 000000000000..7f8bbeb6b2c8 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/net_mac80211_key.patch @@ -0,0 +1,12 @@ +--- a/net/mac80211/key.c ++++ b/net/mac80211/key.c +@@ -24,6 +24,9 @@ + #include "aes_ccm.h" + #include "aes_cmac.h" + ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) ++#include ++#endif + + /** + * DOC: Key handling basics diff --git a/patches/collateral-evolutions/network/06-header-changes/net_mac80211_pm.patch b/patches/collateral-evolutions/network/06-header-changes/net_mac80211_pm.patch new file mode 100644 index 000000000000..cd7ae0e85674 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/net_mac80211_pm.patch @@ -0,0 +1,9 @@ +--- a/net/mac80211/pm.c ++++ b/net/mac80211/pm.c +@@ -1,5 +1,6 @@ + #include + #include ++#include + + #include "ieee80211_i.h" + #include "mesh.h" diff --git a/patches/collateral-evolutions/network/06-header-changes/net_wireless_util.patch b/patches/collateral-evolutions/network/06-header-changes/net_wireless_util.patch new file mode 100644 index 000000000000..ab9b61a58a45 --- /dev/null +++ b/patches/collateral-evolutions/network/06-header-changes/net_wireless_util.patch @@ -0,0 +1,10 @@ +--- a/net/wireless/util.c ++++ b/net/wireless/util.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include "core.h" + #include "rdev-ops.h" +