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
Cette révision appartient à :
Yue Ma
2021-06-30 18:38:05 -07:00
révisé par Madan Koyyalamudi
Parent 437f0113c8
révision 674474c55a
6 fichiers modifiés avec 26 ajouts et 2 suppressions

Voir le fichier

@@ -38,7 +38,11 @@
#include "wmi_unified_priv.h"
#ifdef CNSS_GENL
#ifdef CONFIG_CNSS_OUT_OF_TREE
#include "cnss_nl.h"
#else
#include <net/cnss_nl.h>
#endif
#include "wlan_cfg80211.h"
#endif