From 605624a4e17b5f4f33dab8c2fdee25ed61bc29d1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 24 Mar 2024 15:51:52 +0100 Subject: [PATCH] mt76: fix path to page_pool helper include Signed-off-by: Felix Fietkau --- mac80211.c | 1 - mt76.h | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mac80211.c b/mac80211.c index b603d40c..e7b763ba 100644 --- a/mac80211.c +++ b/mac80211.c @@ -4,7 +4,6 @@ */ #include #include -#include #include "mt76.h" #define CHAN2G(_idx, _freq) { \ diff --git a/mt76.h b/mt76.h index 294e379a..2cbea731 100644 --- a/mt76.h +++ b/mt76.h @@ -15,6 +15,11 @@ #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(6,6,0) +#include +#else +#include +#endif #include "util.h" #include "testmode.h"