diff options
-rw-r--r-- | sound/soc/fsl/fsl_dsp.c | 9 | ||||
-rw-r--r-- | sound/soc/fsl/fsl_dsp.h | 7 |
2 files changed, 13 insertions, 3 deletions
diff --git a/sound/soc/fsl/fsl_dsp.c b/sound/soc/fsl/fsl_dsp.c index 7d5a686f4e8d..7d2d6314d27f 100644 --- a/sound/soc/fsl/fsl_dsp.c +++ b/sound/soc/fsl/fsl_dsp.c @@ -62,11 +62,16 @@ #include <linux/firmware/imx/types.h> #include <linux/firmware/imx/svc/misc.h> #include <dt-bindings/firmware/imx/rsrc.h> -#include "fsl_dsp.h" +#include <sound/pcm.h> +#include <sound/soc.h> + +#include "fsl_dsp.h" +#include "fsl_dsp_pool.h" +#include "fsl_dsp_xaf_api.h" /* ...allocate new client */ -static inline struct xf_client *xf_client_alloc(struct fsl_dsp *dsp_priv) +struct xf_client *xf_client_alloc(struct fsl_dsp *dsp_priv) { struct xf_client *client; u32 id; 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 |