summaryrefslogtreecommitdiff
path: root/qdf/linux/src
diff options
context:
space:
mode:
Diffstat (limited to 'qdf/linux/src')
-rw-r--r--qdf/linux/src/i_qdf_types.h3
-rw-r--r--qdf/linux/src/qdf_mc_timer.c14
2 files changed, 17 insertions, 0 deletions
diff --git a/qdf/linux/src/i_qdf_types.h b/qdf/linux/src/i_qdf_types.h
index 0e9aafbb9272..74325b7b64f5 100644
--- a/qdf/linux/src/i_qdf_types.h
+++ b/qdf/linux/src/i_qdf_types.h
@@ -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;
diff --git a/qdf/linux/src/qdf_mc_timer.c b/qdf/linux/src/qdf_mc_timer.c
index 8d10d09ad327..80143ea5888d 100644
--- a/qdf/linux/src/qdf_mc_timer.c
+++ b/qdf/linux/src/qdf_mc_timer.c
@@ -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);