The mt76 driver needs an extra include of linux/kthread.h on some older kernel versions. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- patches/0013-fix-makefile-includes/mt76.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/patches/0013-fix-makefile-includes/mt76.patch b/patches/0013-fix-makefile-includes/mt76.patch index b7628ff2..98dff5e6 100644 --- a/patches/0013-fix-makefile-includes/mt76.patch +++ b/patches/0013-fix-makefile-includes/mt76.patch @@ -1,5 +1,7 @@ additional include needed for kernel 4.2, 4.11, 4.12 and 4.13 +linux/kthread.h include needed against kernel 4.19. + --- a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c @@ -6,6 +6,7 @@ @@ -10,3 +12,33 @@ additional include needed for kernel 4.2, 4.11, 4.12 and 4.13 #include "mt7615.h" #include "mcu.h" #include "mac.h" +--- a/drivers/net/wireless/mediatek/mt76/mt7615/sdio.c ++++ b/drivers/net/wireless/mediatek/mt76/mt7615/sdio.c +@@ -9,6 +9,7 @@ + #include <linux/kernel.h> + #include <linux/iopoll.h> + #include <linux/module.h> ++#include <linux/kthread.h> + + #include <linux/mmc/host.h> + #include <linux/mmc/sdio_ids.h> +--- a/drivers/net/wireless/mediatek/mt76/mt7615/sdio_txrx.c ++++ b/drivers/net/wireless/mediatek/mt76/mt7615/sdio_txrx.c +@@ -9,6 +9,7 @@ + #include <linux/kernel.h> + #include <linux/iopoll.h> + #include <linux/module.h> ++#include <linux/kthread.h> + + #include <linux/mmc/host.h> + #include <linux/mmc/sdio_ids.h> +--- a/drivers/net/wireless/mediatek/mt76/util.h ++++ b/drivers/net/wireless/mediatek/mt76/util.h +@@ -10,6 +10,7 @@ + #include <linux/skbuff.h> + #include <linux/bitops.h> + #include <linux/bitfield.h> ++#include <linux/kthread.h> + + #define MT76_INCR(_var, _size) \ + (_var = (((_var) + 1) % (_size))) -- 2.20.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in