From e5a35115db1a6c79fdf66f07bd65bbe7a741835e Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Fri, 5 Oct 2018 19:07:56 +0300 Subject: MLK-18497-9: ASoC: fsl: dsp: Export xf_client_alloc While at it add include guard to dsp.h Reviewed-by: Cosmin-Gabriel Samoila Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_dsp.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sound/soc/fsl/fsl_dsp.h') 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 +#ifndef FSL_DSP_H +#define FSL_DSP_H #include +#include #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 -- cgit v1.2.3