summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp.h
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-10-05 19:07:56 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:51:59 +0800
commite5a35115db1a6c79fdf66f07bd65bbe7a741835e (patch)
treefe5475feb03632f9fe54517fd661926651f9eb52 /sound/soc/fsl/fsl_dsp.h
parent6bb3efa95e431a326f6f8f17bdb5ff70ab5fd3df (diff)
MLK-18497-9: ASoC: fsl: dsp: Export xf_client_alloc
While at it add include guard to dsp.h Reviewed-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp.h')
-rw-r--r--sound/soc/fsl/fsl_dsp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_dsp.h b/sound/soc/fsl/fsl_dsp.h
index 9ee7e025ed7f..04fefa75d992 100644
--- a/sound/soc/fsl/fsl_dsp.h
+++ b/sound/soc/fsl/fsl_dsp.h
@@ -5,8 +5,10 @@
*
*/
-#include <linux/firmware/imx/ipc.h>
+#ifndef FSL_DSP_H
+#define FSL_DSP_H
#include <uapi/linux/mxc_dsp.h>
+#include <linux/firmware/imx/ipc.h>
#include "fsl_dsp_proxy.h"
@@ -118,3 +120,6 @@ struct fsl_dsp {
void *memcpy_dsp(void *dest, const void *src, size_t count);
void *memset_dsp(void *dest, int c, size_t count);
struct xf_client *xf_client_lookup(struct fsl_dsp *dsp_priv, u32 id);
+struct xf_client *xf_client_alloc(struct fsl_dsp *dsp_priv);
+
+#endif