meta-opi-diya/recipes-kernel/linux/files/0002-fix-rtl8822c-compi-error.patch

14 lines
494 B
Diff
Raw Permalink Normal View History

2024-03-08 10:41:41 +01:00
diff --git a/drivers/net/wireless/rtl88x2cs/Makefile b/drivers/net/wireless/rtl88x2cs/Makefile
index 814cf1e1ba5f..fe0c5cbe991a 100755
--- a/drivers/net/wireless/rtl88x2cs/Makefile
+++ b/drivers/net/wireless/rtl88x2cs/Makefile
@@ -2316,7 +2316,7 @@ endif
########### HAL_RTL8822C #################################
ifeq ($(CONFIG_RTL8822C), y)
-include $(TopDIR)/drivers/net/wireless/rtl88x2cs/rtl8822c.mk
+include $(src)/rtl8822c.mk
EXTRA_CFLAGS += -DCONFIG_RTW_IOCTL_SET_COUNTRY
endif