qcacmn: Support to WIN for split of kernel modules

Add EXPORT_SYMBOLS to support modularization in WIN.

Change-Id: I587fe6f2c5cce4b54756358de5c488b146f61850
CRs-Fixed: 2179854
This commit is contained in:
Pratik Gandhi
2018-01-30 18:57:05 +05:30
committed by snandini
parent 6c8fdba41b
commit dc82a77896
24 changed files with 132 additions and 15 deletions

View File

@@ -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);