summaryrefslogtreecommitdiff
path: root/patches/0013-fix-makefile-includes
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-07 08:07:39 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-02-07 15:07:16 +0100
commit75239f276ec894c87b8fbc268bdfb0f9fd290445 (patch)
tree14a91c251f2b1986a709876d90d9a0828b8c3769 /patches/0013-fix-makefile-includes
parent6981c5a175652d79562795127ab4ff62c9ecfac0 (diff)
backports: get rid of patch directory structure
This directory structure was never really managed well, simply get rid of it. With the patch system that only applies patches when the modified file exists, and with a lot of spatches applying everywhere anyway, it's no longer really useful either. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/0013-fix-makefile-includes')
-rw-r--r--patches/0013-fix-makefile-includes/6lowpan.patch10
-rw-r--r--patches/0013-fix-makefile-includes/ath10k.patch10
-rw-r--r--patches/0013-fix-makefile-includes/bluetooth.patch10
-rw-r--r--patches/0013-fix-makefile-includes/cfg802154.patch10
-rw-r--r--patches/0013-fix-makefile-includes/frame_vector.patch10
-rw-r--r--patches/0013-fix-makefile-includes/igb.patch12
-rw-r--r--patches/0013-fix-makefile-includes/mei_phy.patch10
-rw-r--r--patches/0013-fix-makefile-includes/net_wireless_Makefile.patch10
-rw-r--r--patches/0013-fix-makefile-includes/st-nci-spi.patch10
9 files changed, 92 insertions, 0 deletions
diff --git a/patches/0013-fix-makefile-includes/6lowpan.patch b/patches/0013-fix-makefile-includes/6lowpan.patch
new file mode 100644
index 00000000..70d0dd5a
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/6lowpan.patch
@@ -0,0 +1,10 @@
+--- a/net/6lowpan/core.c
++++ b/net/6lowpan/core.c
+@@ -14,6 +14,7 @@
+ #include <linux/module.h>
+
+ #include <net/6lowpan.h>
++#include <linux/if_arp.h>
+
+ #include "6lowpan_i.h"
+
diff --git a/patches/0013-fix-makefile-includes/ath10k.patch b/patches/0013-fix-makefile-includes/ath10k.patch
new file mode 100644
index 00000000..5bae024b
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/ath10k.patch
@@ -0,0 +1,10 @@
+--- a/drivers/net/wireless/ath/ath10k/htt.h
++++ b/drivers/net/wireless/ath/ath10k/htt.h
+@@ -19,6 +19,7 @@
+ #define _HTT_H_
+
+ #include <linux/bug.h>
++#include <linux/idr.h>
+ #include <linux/interrupt.h>
+ #include <linux/dmapool.h>
+ #include <linux/hashtable.h>
diff --git a/patches/0013-fix-makefile-includes/bluetooth.patch b/patches/0013-fix-makefile-includes/bluetooth.patch
new file mode 100644
index 00000000..db732995
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/bluetooth.patch
@@ -0,0 +1,10 @@
+--- a/net/bluetooth/6lowpan.c
++++ b/net/bluetooth/6lowpan.c
+@@ -18,6 +18,7 @@
+ #include <linux/debugfs.h>
+
+ #include <net/ipv6.h>
++#include <net/ip6_fib.h>
+ #include <net/ip6_route.h>
+ #include <net/addrconf.h>
+
diff --git a/patches/0013-fix-makefile-includes/cfg802154.patch b/patches/0013-fix-makefile-includes/cfg802154.patch
new file mode 100644
index 00000000..93caa14a
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/cfg802154.patch
@@ -0,0 +1,10 @@
+--- a/include/net/cfg802154.h
++++ b/include/net/cfg802154.h
+@@ -26,6 +26,7 @@
+
+ struct wpan_phy;
+ struct wpan_phy_cca;
++struct wpan_dev;
+
+ #ifdef CONFIG_IEEE802154_NL802154_EXPERIMENTAL
+ struct ieee802154_llsec_device_key;
diff --git a/patches/0013-fix-makefile-includes/frame_vector.patch b/patches/0013-fix-makefile-includes/frame_vector.patch
new file mode 100644
index 00000000..66d9eaf3
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/frame_vector.patch
@@ -0,0 +1,10 @@
+--- a/compat/mm-frame_vector.c
++++ b/compat/mm-frame_vector.c
+@@ -6,6 +6,7 @@
+ #include <linux/vmalloc.h>
+ #include <linux/pagemap.h>
+ #include <linux/sched.h>
++#include <linux/export.h>
+
+ /**
+ * get_vaddr_frames() - map virtual addresses to pfns
diff --git a/patches/0013-fix-makefile-includes/igb.patch b/patches/0013-fix-makefile-includes/igb.patch
new file mode 100644
index 00000000..a0804dc8
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/igb.patch
@@ -0,0 +1,12 @@
+diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
+index 55a1405c..1409e20 100644
+--- a/drivers/net/ethernet/intel/igb/igb_main.c
++++ b/drivers/net/ethernet/intel/igb/igb_main.c
+@@ -34,6 +34,7 @@
+ #include <linux/slab.h>
+ #include <net/checksum.h>
+ #include <net/ip6_checksum.h>
++#include <net/ipv6.h>
+ #include <linux/net_tstamp.h>
+ #include <linux/mii.h>
+ #include <linux/ethtool.h>
diff --git a/patches/0013-fix-makefile-includes/mei_phy.patch b/patches/0013-fix-makefile-includes/mei_phy.patch
new file mode 100644
index 00000000..c05f6eac
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/mei_phy.patch
@@ -0,0 +1,10 @@
+--- a/drivers/nfc/mei_phy.c
++++ b/drivers/nfc/mei_phy.c
+@@ -19,6 +19,7 @@
+ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
+ #include <linux/module.h>
++#include <linux/sched.h>
+ #include <linux/slab.h>
+ #include <linux/nfc.h>
+
diff --git a/patches/0013-fix-makefile-includes/net_wireless_Makefile.patch b/patches/0013-fix-makefile-includes/net_wireless_Makefile.patch
new file mode 100644
index 00000000..43c1dfb9
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/net_wireless_Makefile.patch
@@ -0,0 +1,10 @@
+--- a/net/wireless/Makefile
++++ b/net/wireless/Makefile
+@@ -20,6 +20,6 @@ CFLAGS_trace.o := -I$(src)
+ ccflags-y += -D__CHECK_ENDIAN__
+
+ $(obj)/regdb.c: $(src)/db.txt $(src)/genregdb.awk
+- @$(AWK) -f $(srctree)/$(src)/genregdb.awk < $< > $@
++ @$(AWK) -f $(src)/genregdb.awk < $< > $@
+
+ clean-files := regdb.c
diff --git a/patches/0013-fix-makefile-includes/st-nci-spi.patch b/patches/0013-fix-makefile-includes/st-nci-spi.patch
new file mode 100644
index 00000000..1ecd1618
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/st-nci-spi.patch
@@ -0,0 +1,10 @@
+--- a/drivers/nfc/st-nci/spi.c
++++ b/drivers/nfc/st-nci/spi.c
+@@ -21,6 +21,7 @@
+ #include <linux/spi/spi.h>
+ #include <linux/gpio.h>
+ #include <linux/gpio/consumer.h>
++#include <linux/of.h>
+ #include <linux/of_irq.h>
+ #include <linux/of_gpio.h>
+ #include <linux/acpi.h>