qcacmn: Fix export symbol for multi drivers compilation

Update target_if module files to use qdf_export_symbol to facilitate
multiple driver module compilation support.

Change-Id: I83b2d79a96909a2661a89a1129e17c291e9a2e03
CRs-fixed: 2197751
This commit is contained in:
Manikandan Mohan 2018-03-01 16:20:54 -08:00 • committed by nshrivas
commit 56a2bf8921
3 changed files with 12 additions and 9 deletions

View file

@ -33,6 +33,7 @@
#include <reg_services_public_struct.h>
#include <target_if_spectral_sim.h>
#include <target_if.h>
#include <qdf_module.h>
/**
* @spectral_ops - Spectral function table, holds the Spectral functions that
* depend on whether the architecture is Direct Attach or Offload. This is used
@ -2839,7 +2840,7 @@ target_if_sptrl_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
tx_ops->sptrl_tx_ops.sptrlto_deregister_netlink_cb =
target_if_deregister_netlink_cb;
}
EXPORT_SYMBOL(target_if_sptrl_register_tx_ops);
qdf_export_symbol(target_if_sptrl_register_tx_ops);
void
target_if_spectral_send_intf_found_msg(struct wlan_objmgr_pdev *pdev,
@ -2864,4 +2865,4 @@ target_if_spectral_send_intf_found_msg(struct wlan_objmgr_pdev *pdev,
spectral->spectral_sent_msg++;
}
}
EXPORT_SYMBOL(target_if_spectral_send_intf_found_msg);
qdf_export_symbol(target_if_spectral_send_intf_found_msg);

View file

@ -19,6 +19,7 @@
#include <osdep.h>
#include <qdf_types.h>
#include <qdf_module.h>
#include <wlan_tgt_def_config.h>
#include <hif.h>
#include <hif_hw_version.h>
@ -1582,7 +1583,7 @@ int target_if_spectral_process_phyerr_gen3(
return ret;
}
EXPORT_SYMBOL(target_if_spectral_process_phyerr_gen3);
qdf_export_symbol(target_if_spectral_process_phyerr_gen3);
/* END of spectral GEN III HW specific functions */
#endif /* WLAN_SPECTRAL_ENABLE */

View file

@ -27,6 +27,7 @@
#include "qdf_types.h"
#include "ieee80211_var.h"
#include <wlan_mlme_dispatcher.h>
#include <qdf_module.h>
/* Helper functions */
@ -725,7 +726,7 @@ target_if_spectral_sops_sim_is_active(void *arg)
return simctx->is_active;
}
EXPORT_SYMBOL(target_if_spectral_sops_sim_is_active);
qdf_export_symbol(target_if_spectral_sops_sim_is_active);
uint32_t
target_if_spectral_sops_sim_is_enabled(void *arg)
@ -741,7 +742,7 @@ target_if_spectral_sops_sim_is_enabled(void *arg)
return simctx->is_enabled;
}
EXPORT_SYMBOL(target_if_spectral_sops_sim_is_enabled);
qdf_export_symbol(target_if_spectral_sops_sim_is_enabled);
uint32_t
target_if_spectral_sops_sim_start_scan(void *arg)
@ -789,7 +790,7 @@ target_if_spectral_sops_sim_start_scan(void *arg)
return 1;
}
EXPORT_SYMBOL(target_if_spectral_sops_sim_start_scan);
qdf_export_symbol(target_if_spectral_sops_sim_start_scan);
uint32_t
target_if_spectral_sops_sim_stop_scan(void *arg)
@ -814,7 +815,7 @@ target_if_spectral_sops_sim_stop_scan(void *arg)
return 1;
}
EXPORT_SYMBOL(target_if_spectral_sops_sim_stop_scan);
qdf_export_symbol(target_if_spectral_sops_sim_stop_scan);
#ifdef SPECTRAL_SIM_DUMP_PARAM_DATA
static void
@ -962,7 +963,7 @@ target_if_spectral_sops_sim_configure_params(
return 1;
}
EXPORT_SYMBOL(target_if_spectral_sops_sim_configure_params);
qdf_export_symbol(target_if_spectral_sops_sim_configure_params);
uint32_t
target_if_spectral_sops_sim_get_params(
@ -988,6 +989,6 @@ target_if_spectral_sops_sim_get_params(
return 1;
}
EXPORT_SYMBOL(target_if_spectral_sops_sim_get_params);
qdf_export_symbol(target_if_spectral_sops_sim_get_params);
#endif /* QCA_SUPPORT_SPECTRAL_SIMULATION */