--- zzzz-none-000/linux-3.10.107/include/linux/mfd/davinci_voicecodec.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/include/linux/mfd/davinci_voicecodec.h 2021-02-04 17:41:59.000000000 +0000 @@ -21,13 +21,16 @@ */ #ifndef __LINUX_MFD_DAVINCI_VOICECODEC_H_ -#define __LINUX_MFD_DAVINIC_VOICECODEC_H_ +#define __LINUX_MFD_DAVINCI_VOICECODEC_H_ #include #include #include +#include -#include +#include + +struct regmap; /* * Register values. @@ -96,12 +99,6 @@ dma_addr_t dma_rx_addr; }; -struct cq93vc { - struct platform_device *pdev; - struct snd_soc_codec *codec; - u32 sysclk; -}; - struct davinci_vc; struct davinci_vc { @@ -112,15 +109,13 @@ /* Memory resources */ void __iomem *base; - resource_size_t pbase; - size_t base_size; + struct regmap *regmap; /* MFD cells */ struct mfd_cell cells[DAVINCI_VC_CELLS]; /* Client devices */ struct davinci_vcif davinci_vcif; - struct cq93vc cq93vc; }; #endif