qcacmn: Add bus_id memeber to qdf_device
With Load once unload never architecture, the cds modules will be opened/closed several times. As part of configuration of modules bus id needs to passed. So, add a new member to save the bus_id passed by the platform driver during the driver intialization, Change-Id: Ic580e03076e5e8c557dde1879e223606a14f79b8 CRs-Fixed: 1049224
This commit is contained in:
@@ -185,6 +185,9 @@ struct __qdf_device {
|
||||
__qdf_os_intr func;
|
||||
struct __qdf_mempool_ctxt *mem_pool[MAX_MEM_POOLS];
|
||||
enum qdf_bus_type bus_type;
|
||||
#ifdef CONFIG_MCL
|
||||
const struct hif_bus_id *bid;
|
||||
#endif
|
||||
};
|
||||
typedef struct __qdf_device *__qdf_device_t;
|
||||
|
||||
|
@@ -687,3 +687,17 @@ unsigned long qdf_mc_timer_get_system_time(void)
|
||||
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||
}
|
||||
EXPORT_SYMBOL(qdf_mc_timer_get_system_time);
|
||||
|
||||
/**
|
||||
* qdf_timer_module_deinit() - Deinitializes a QDF timer module.
|
||||
*
|
||||
* This API deinitializes the QDF timer module.
|
||||
* Return: none
|
||||
*/
|
||||
void qdf_timer_module_deinit(void)
|
||||
{
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO_HIGH,
|
||||
"De-Initializing the QDF MC timer module");
|
||||
qdf_mutex_destroy(&persistent_timer_count_lock);
|
||||
}
|
||||
EXPORT_SYMBOL(qdf_timer_module_deinit);
|
||||
|
Reference in New Issue
Block a user