Fixes error on platform where wlbtd is not enabled
Change-Id: Idf57cf08a4d248c1fdda46bd4572a8ad4a241766
SCSC-Bug-Id: SSB-36810
Signed-off-by: Tarun Karela <t.karela@samsung.com>
#endif
fw_crc_wq_init(mxman);
failure_wq_init(mxman);
+#ifdef CONFIG_SCSC_WLBTD
wlbtd_wq_init(mxman);
+#endif
mutex_init(&mxman->mxman_mutex);
init_completion(&mxman->recovery_completion);
wake_lock_init(&mxman->recovery_wake_lock, WAKE_LOCK_SUSPEND, "mxman_recovery");
mxproc_remove_info_proc_dir(&mxman->mxproc);
fw_crc_wq_deinit(mxman);
failure_wq_deinit(mxman);
+#ifdef CONFIG_SCSC_WLBTD
wlbtd_wq_deinit(mxman);
+#endif
wake_lock_destroy(&mxman->recovery_wake_lock);
mutex_destroy(&mxman->mxman_mutex);
}