qcacmn: Support to WIN for split of kernel modules
Add EXPORT_SYMBOLS to support modularization in WIN.
Change-Id: I587fe6f2c5cce4b54756358de5c488b146f61850
CRs-Fixed: 2179854
diff --git a/hif/src/qca9888def.c b/hif/src/qca9888def.c
index 2c67094..f44313c 100644
--- a/hif/src/qca9888def.c
+++ b/hif/src/qca9888def.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015,2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015,2016,2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -15,6 +15,7 @@
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
+#include "qdf_module.h"
#if defined(QCA9888_HEADERS_DEF)
#define QCA9888 1
@@ -216,6 +217,7 @@
#define MY_TARGET_BOARD_EXT_DATA_SZ QCA9888_BOARD_EXT_DATA_SZ
#include "targetdef.h"
#include "hostdef.h"
+qdf_export_symbol(QCA9888_CE_TARGETdef);
#else
#include "common_drv.h"
#include "targetdef.h"
@@ -223,3 +225,5 @@
struct targetdef_s *QCA9888_TARGETdef;
struct hostdef_s *QCA9888_HOSTdef;
#endif /* QCA9888_HEADERS_DEF */
+qdf_export_symbol(QCA9888_TARGETdef);
+qdf_export_symbol(QCA9888_HOSTdef);