@jerryliu
發現在 snd_sunxi_dmic.h 中,少了宣告 struct sunxi_dmic_clk ??
struct sunxi_dmic_mem {
struct resource res;
void __iomem *membase;
struct resource *memregion;
struct regmap *regmap;
};
struct sunxi_dmic_pinctl {
struct pinctrl *pinctrl;
struct pinctrl_state *pinstate;
struct pinctrl_state *pinstate_sleep;
};
struct sunxi_dmic_dts {
/* value must be (2^n)Kbyte */
size_t capture_cma;
size_t capture_fifo_size;
};
struct sunxi_dmic {
struct platform_device *pdev;
};