wlan_platform: 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: I24111fdb76607bf911c29e415d42d25609f9b26c
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/of.h>
|
||||
#ifdef CONFIG_CNSS_OUT_OF_TREE
|
||||
#include "cnss_utils.h"
|
||||
#else
|
||||
#include <net/cnss_utils.h>
|
||||
#endif
|
||||
|
||||
#define CNSS_MAX_CH_NUM 157
|
||||
struct cnss_unsafe_channel_list {
|
||||
|
Reference in New Issue
Block a user