diff options
author | Victor Hsu <hsuvictor@google.com> | 2021-11-10 20:57:10 +0800 |
---|---|---|
committer | Victor Hsu <hsuvictor@google.com> | 2021-12-13 13:37:29 +0800 |
commit | 5cfb486d3f2b5f46683495ae82c1060da8118be4 (patch) | |
tree | 171b6f08e1a88ab4d60fae4b03f9c1e9128fae10 /cnss_prealloc | |
parent | c972edc5cac0526943caaa390ddd0faf2ecb18db (diff) | |
download | cnss2-5cfb486d3f2b5f46683495ae82c1060da8118be4.tar.gz |
wcn6740: Change the include path to out-of-kernel tree
Change the include path to make sure to include
the correct header files in out-of-kernel tree.
Bug: 203725513
Signed-off-by: Victor Hsu <hsuvictor@google.com>
Change-Id: Iaff00aca3b1e3faa77ffb54bf7eb59b6ca296c58
Diffstat (limited to 'cnss_prealloc')
-rw-r--r-- | cnss_prealloc/cnss_prealloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cnss_prealloc/cnss_prealloc.c b/cnss_prealloc/cnss_prealloc.c index f908aed..77c4497 100644 --- a/cnss_prealloc/cnss_prealloc.c +++ b/cnss_prealloc/cnss_prealloc.c @@ -7,7 +7,11 @@ #include <linux/mm.h> #include <linux/err.h> #include <linux/of.h> +#ifdef CONFIG_CNSS_OUT_OF_TREE +#include "cnss_prealloc.h" +#else #include <net/cnss_prealloc.h> +#endif MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("CNSS prealloc driver"); |