qcacmn: Add CONFIG_CNSS_OUT_OF_TREE flag

Use CONFIG_CNSS_OUT_OF_TREE to control if CNSS family drivers are
built from in-kernel-tree source or out-of-kernel-tree source since
the exposed header files will be in different paths. This is also
for backward compatibility.

Change-Id: I698492f175ea140e6854c372f366a63f36de24c9
CRs-fixed: 3022556
此提交包含在:
Yue Ma
2021-06-30 18:38:05 -07:00
提交者 Madan Koyyalamudi
父節點 437f0113c8
當前提交 674474c55a
共有 6 個檔案被更改,包括 26 行新增2 行删除

查看文件

@@ -38,8 +38,12 @@
#include <qdf_str.h>
#ifdef CNSS_GENL
#ifdef CONFIG_CNSS_OUT_OF_TREE
#include "cnss_nl.h"
#else
#include <net/cnss_nl.h>
#endif
#endif
#if defined(FEATURE_FW_LOG_PARSING) || defined(FEATURE_WLAN_DIAG_SUPPORT) || \
defined(FEATURE_PKTLOG)