From ad334efa69324ebdb12aff590c64697aaca5a7cd Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sun, 21 Apr 2024 11:19:12 +0100 Subject: [PATCH] qcom: wlan: qcacld-3.0: Fix inline compilation Make sure that qcacld-3.0 fully builds with ANDROID_COMMON_KERNEL macro set. Change-Id: I7bf05591ec520ee1b22038f65f873daa061d04b2 --- qcom/opensource/wlan/qcacld-3.0/Kbuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcom/opensource/wlan/qcacld-3.0/Kbuild b/qcom/opensource/wlan/qcacld-3.0/Kbuild index db96a03dda..24bf3ac6e0 100644 --- a/qcom/opensource/wlan/qcacld-3.0/Kbuild +++ b/qcom/opensource/wlan/qcacld-3.0/Kbuild @@ -3450,6 +3450,8 @@ ccflags-y += $(INCS) ccflags-y += -include $(WLAN_ROOT)/configs/default_config.h +ccflags-y += -D__ANDROID_COMMON_KERNEL__ + # CFG80211_MLO_KEY_OPERATION_SUPPORT # Used to indicate the Linux Kernel contains support for ML key operation # support.