summaryrefslogtreecommitdiff
path: root/drivers/staging/nmf-cm/cm_debug.h
diff options
context:
space:
mode:
authorPierre Peiffer <pierre.peiffer@stericsson.com>2011-08-26 13:23:25 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:58 +0200
commit44a446451bde6f886f923facf15ce527ade4b96a (patch)
treec86a6177e320281ea2c98bedba370d5fef383833 /drivers/staging/nmf-cm/cm_debug.h
parentd312fc107db52f15908d173a0b6638be57b9a431 (diff)
U8500 CM: execute services before detroying component
Force MMDSP to have executed all previous services before detroying the components: service construct / start / stop on a component could remain on the pipe when the component is destroyed. ST-Ericsson ID: 358445 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Icd8c0fe7d567128562599e928b381514e4a71fa8
Diffstat (limited to 'drivers/staging/nmf-cm/cm_debug.h')
-rw-r--r--drivers/staging/nmf-cm/cm_debug.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/nmf-cm/cm_debug.h b/drivers/staging/nmf-cm/cm_debug.h
index 8afb3550c0c..26c80682d11 100644
--- a/drivers/staging/nmf-cm/cm_debug.h
+++ b/drivers/staging/nmf-cm/cm_debug.h
@@ -15,5 +15,14 @@ void cm_debug_exit(void);
void cm_debug_proc_init(struct cm_process_priv *entry);
void cm_debug_create_tcm_file(unsigned mpc_index);
void cm_debug_destroy_tcm_file(unsigned mpc_index);
+
+#else
+
+#define cm_debug_init()
+#define cm_debug_exit()
+#define cm_debug_proc_init(entry)
+#define cm_debug_create_tcm_file(mpc_index)
+#define cm_debug_destroy_tcm_file(mpc_index)
+
#endif /* CONFIG_DEBUG_FS */
#endif /* CM_DEBUG_H */