From e59a6368cce3b7dfde71f7c11294d766fe52f563 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Sun, 6 Oct 2024 22:02:37 +0200 Subject: [PATCH] ath10k-ct: select mac80211 debugfs support Trying to compile ath10k-ct without mac80211 debugfs support will result in: 8083 | #warning Please enable ATH10K-DEBUGFS kernel option for optimal support for CT firmware. | ^~~~~~~ cc1: all warnings being treated as errors So, since the driver itself is saying that debugfs is required, then lets make ath10k-ct select mac80211 debugfs support which is selected by default anyway. Fixes: #11687, #12363 Signed-off-by: Robert Marko --- package/kernel/ath10k-ct/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel/ath10k-ct/Makefile index 69625bc0a..444feb00e 100644 --- a/package/kernel/ath10k-ct/Makefile +++ b/package/kernel/ath10k-ct/Makefile @@ -29,13 +29,13 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/ath10k-ct SUBMENU:=Wireless Drivers TITLE:=ath10k-ct driver optimized for CT ath10k firmware - DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x||TARGET_qualcommax||TARGET_ath79) +kmod-mac80211 +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT @PCI_SUPPORT +kmod-hwmon-core + DEPENDS:=+kmod-mac80211 +kmod-ath +@DRIVER_11AC_SUPPORT @PCI_SUPPORT +kmod-hwmon-core +@PACKAGE_MAC80211_DEBUGFS FILES:=\ $(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_pci.ko \ $(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_core.ko AUTOLOAD:=$(call AutoProbe,ath10k_core ath10k_pci) MODPARAMS.ath10k_core:=frame_mode=2 - PROVIDES:=kmod-ath10k + PROVIDES:=kmod-ath10k-pci VARIANT:=regular endef