diff -drupN a/sound/soc/sunxi/sunxi-pcm.h b/sound/soc/sunxi/sunxi-pcm.h --- a/sound/soc/sunxi/sunxi-pcm.h 1970-01-01 03:00:00.000000000 +0300 +++ b/sound/soc/sunxi/sunxi-pcm.h 2022-06-12 05:28:14.000000000 +0300 @@ -0,0 +1,32 @@ +/* sound\soc\sunxi\sunxi-pcm.h + * (C) Copyright 2014-2017 + * Allwinner Technology Co., Ltd. + * Wolfgang Huang + * + * some simple description for this code + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + */ +#ifndef __SUNXI_PCM_H_ +#define __SUNXI_PCM_H_ + +struct sunxi_dma_params { + char *name; + dma_addr_t dma_addr; + u8 src_maxburst; + u8 dst_maxburst; + u8 dma_drq_type_num; +}; + +struct sndhdmi_priv { + unsigned int hdmi_format; +}; + +extern int asoc_dma_platform_register(struct device *dev, unsigned int flags); +extern void asoc_dma_platform_unregister(struct device *dev); +extern int sunxi_ahub_get_rawflag(void); +#endif /* __SUNXI_PCM_H_ */