|
@@ -3481,6 +3481,17 @@ void hdd_component_pdev_close(struct wlan_objmgr_pdev *pdev);
|
|
|
#ifdef WLAN_FEATURE_MEMDUMP_ENABLE
|
|
|
int hdd_driver_memdump_init(void);
|
|
|
void hdd_driver_memdump_deinit(void);
|
|
|
+
|
|
|
+/**
|
|
|
+ * hdd_driver_mem_cleanup() - Frees memory allocated for
|
|
|
+ * driver dump
|
|
|
+ *
|
|
|
+ * This function frees driver dump memory.
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+void hdd_driver_mem_cleanup(void);
|
|
|
+
|
|
|
#else /* WLAN_FEATURE_MEMDUMP_ENABLE */
|
|
|
static inline int hdd_driver_memdump_init(void)
|
|
|
{
|
|
@@ -3489,6 +3500,10 @@ static inline int hdd_driver_memdump_init(void)
|
|
|
static inline void hdd_driver_memdump_deinit(void)
|
|
|
{
|
|
|
}
|
|
|
+
|
|
|
+static inline void hdd_driver_mem_cleanup(void)
|
|
|
+{
|
|
|
+}
|
|
|
#endif /* WLAN_FEATURE_MEMDUMP_ENABLE */
|
|
|
/**
|
|
|
* hdd_set_disconnect_status() - set adapter disconnection status
|