diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2018-10-05 19:07:56 +0300 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:51:59 +0800 |
commit | e5a35115db1a6c79fdf66f07bd65bbe7a741835e (patch) | |
tree | fe5475feb03632f9fe54517fd661926651f9eb52 /sound/soc/fsl/fsl_dsp.h | |
parent | 6bb3efa95e431a326f6f8f17bdb5ff70ab5fd3df (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.h | 7 |
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 |